Microsoft.AzureStackHCI (preview:2024-10-01)

2025/01/16 • 65 new methods

VirtualMachineInstances_List (new)
Description Lists all of the virtual machine instances within the specified parent resource.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Get (new)
Description Gets a virtual machine instance
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_CreateOrUpdate (new)
Description The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.
Reference Link ¶

⚼ Request

PUT:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
resource:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Update (new)
Description The operation to update a virtual machine instance.
Reference Link ¶

⚼ Request

PATCH:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
properties:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
computerName: string ,
linuxConfiguration:
{
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Delete (new)
Description The operation to delete a virtual machine instance.
Reference Link ¶

⚼ Request

DELETE:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AttestationStatuses_Get (new)
Description Implements AttestationStatus GET method.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/attestationStatus/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
properties:
{
attestSecureBootEnabled: enum ,
attestationCertValidated: enum ,
bootIntegrityValidated: enum ,
linuxKernelVersion: string ,
healthStatus: enum ,
timestamp: string ,
errorMessage: string ,
provisioningState: enum ,
attestHardwarePlatform: enum ,
attestDiskSecurityEncryptionType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestAgents_ListByVirtualMachineInstance (new)
Description Returns the list of GuestAgent of the given vm.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
credentials:
{
username: string ,
password: string ,
}
,
provisioningAction: enum ,
status: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestAgents_Get (new)
Description Implements GuestAgent GET method.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
properties:
{
credentials:
{
username: string ,
password: string ,
}
,
provisioningAction: enum ,
status: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestAgents_Create (new)
Description Create Or Update GuestAgent.
Reference Link ¶

⚼ Request

PUT:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default
{
api-version: string ,
resourceUri: string ,
resource:
{
properties:
{
credentials:
{
username: string ,
password: string ,
}
,
provisioningAction: enum ,
status: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
credentials:
{
username: string ,
password: string ,
}
,
provisioningAction: enum ,
status: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
credentials:
{
username: string ,
password: string ,
}
,
provisioningAction: enum ,
status: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GuestAgents_Delete (new)
Description Implements GuestAgent DELETE method.
Reference Link ¶

⚼ Request

DELETE:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
HybridIdentityMetadata_ListByVirtualMachineInstance (new)
Description Returns the list of HybridIdentityMetadata of the given vm.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resourceUid: string ,
publicKey: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
HybridIdentityMetadata_Get (new)
Description Implements HybridIdentityMetadata GET method.
Reference Link ¶

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
properties:
{
resourceUid: string ,
publicKey: string ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Pause (new)
Description The operation to pause a virtual machine instance.
Reference Link ¶

⚼ Request

POST:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/pause
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Restart (new)
Description The operation to restart a virtual machine instance.
Reference Link ¶

⚼ Request

POST:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/restart
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Save (new)
Description The operation to save a virtual machine instance.
Reference Link ¶

⚼ Request

POST:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/save
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Start (new)
Description The operation to start a virtual machine instance.
Reference Link ¶

⚼ Request

POST:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/start
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Stop (new)
Description The operation to stop a virtual machine instance.
Reference Link ¶

⚼ Request

POST:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/stop
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_ListAll (new)
Description Lists all of the gallery images in the specified subscription. Use the nextLink property in the response to get the next page of gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_ListAll (new)
Description Lists all of the logical networks in the specified subscription. Use the nextLink property in the response to get the next page of logical networks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/logicalNetworks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_ListAll (new)
Description Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_ListAll (new)
Description Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_ListAll (new)
Description Gets all network security groups in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkSecurityGroups
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_ListAll (new)
Description Lists all of the storage containers in the specified subscription. Use the nextLink property in the response to get the next page of storage containers.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storageContainers
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_ListAll (new)
Description Lists all of the virtual hard disks in the specified subscription. Use the nextLink property in the response to get the next page of virtual hard disks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualHardDisks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_ListByResourceGroup (new)
Description Lists all of the gallery images in the specified resource group. Use the nextLink property in the response to get the next page of gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_Get (new)
Description Gets a gallery image
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_CreateOrUpdate (new)
Description The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
resource:
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_Update (new)
Description The operation to update a gallery image.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
vmImageRepositoryCredentials:
{
username: string ,
password: string ,
}
,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_Delete (new)
Description The operation to delete a gallery image.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_ListByResourceGroup (new)
Description Lists all of the logical networks in the specified resource group. Use the nextLink property in the response to get the next page of logical networks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_Get (new)
Description The operation to get a logical network.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_CreateOrUpdate (new)
Description The operation to create or update a logical network. Please note some properties can be set only during logical network creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
resource:
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_Update (new)
Description The operation to update a logical network.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_Delete (new)
Description The operation to delete a logical network.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_ListByResourceGroup (new)
Description Lists all of the marketplace gallery images in the specified resource group. Use the nextLink property in the response to get the next page of marketplace gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_Get (new)
Description Gets a marketplace gallery image
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
marketplaceGalleryImageName: string ,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_CreateOrUpdate (new)
Description The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
marketplaceGalleryImageName: string ,
resource:
{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_Update (new)
Description The operation to update a marketplace gallery image.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
marketplaceGalleryImageName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MarketplaceGalleryImages_Delete (new)
Description The operation to delete a marketplace gallery image.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
marketplaceGalleryImageName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_ListByResourceGroup (new)
Description Lists all of the network interfaces in the specified resource group. Use the nextLink property in the response to get the next page of network interfaces.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_Get (new)
Description Gets a network interface
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_CreateOrUpdate (new)
Description The operation to create or update a network interface. Please note some properties can be set only during network interface creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
resource:
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_Update (new)
Description The operation to update a network interface.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_Delete (new)
Description The operation to delete a network interface.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_ListByResourceGroup (new)
Description Gets all network security groups in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_Get (new)
Description Gets the specified network security group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_CreateOrUpdate (new)
Description Creates or updates a network security group in the specified resource group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
resource:
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_UpdateTags (new)
Description Updates a network security group tags.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_Delete (new)
Description Deletes the specified network security group.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityRules_ListByNetworkSecurityGroup (new)
Description Gets all security rules in a Network Security Group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
access: enum ,
priority: integer ,
direction: enum ,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityRules_Get (new)
Description Gets the specified security rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
securityRuleName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
access: enum ,
priority: integer ,
direction: enum ,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityRules_CreateOrUpdate (new)
Description Creates or updates a security rule in the specified resource group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
securityRuleName: string ,
resource:
{
properties:
{
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
access: enum ,
priority: integer ,
direction: enum ,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
access: enum ,
priority: integer ,
direction: enum ,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
description: string ,
protocol: enum ,
sourceAddressPrefixes:
[
string ,
]
,
destinationAddressPrefixes:
[
string ,
]
,
sourcePortRanges:
[
string ,
]
,
destinationPortRanges:
[
string ,
]
,
access: enum ,
priority: integer ,
direction: enum ,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SecurityRules_Delete (new)
Description Deletes the specified security rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
securityRuleName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_ListByResourceGroup (new)
Description Lists all of the storage containers in the specified resource group. Use the nextLink property in the response to get the next page of storage containers.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_Get (new)
Description Gets a storage container
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageContainerName: string ,
}

⚐ Response (200)

{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_CreateOrUpdate (new)
Description The operation to create or update a storage container. Please note some properties can be set only during storage container creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageContainerName: string ,
resource:
{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_Update (new)
Description The operation to update a storage container.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageContainerName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
path: string ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
availableSizeMB: integer ,
containerSizeMB: integer ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageContainers_Delete (new)
Description The operation to delete a storage container.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageContainerName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_ListByResourceGroup (new)
Description Lists all of the virtual hard disks in the specified resource group. Use the nextLink property in the response to get the next page of virtual hard disks.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Get (new)
Description Gets a virtual hard disk
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_CreateOrUpdate (new)
Description The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
resource:
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Update (new)
Description The operation to update a virtual hard disk.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Delete (new)
Description The operation to delete a virtual hard disk.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Upload (new)
Description The operation to upload a virtual hard disk.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}/upload
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
body:
{
azureManagedDiskUploadUrl: string ,
}
,
}

⚐ Response (200)

{
virtualHardDiskId: string ,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.AzureStackHCI/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}