Sdílet prostřednictvím


HciExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Hci.

public static class HciExtensions
type HciExtensions = class
Public Module HciExtensions
Inheritance
HciExtensions

Methods

GetArcExtensionResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArcExtensionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an ArcExtensionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetArcExtensionResource(ResourceIdentifier) instead.

GetArcSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArcSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ArcSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetArcSettingResource(ResourceIdentifier) instead.

GetGalleryImage(ResourceGroupResource, String, CancellationToken)

Gets a gallery image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
  • Operation Id: GalleryImages_Get
GetGalleryImageAsync(ResourceGroupResource, String, CancellationToken)

Gets a gallery image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
  • Operation Id: GalleryImages_Get
GetGalleryImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a GalleryImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryImageResource(ResourceIdentifier) instead.

GetGalleryImages(ResourceGroupResource)

Gets a collection of GalleryImageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetGalleryImages() instead.

GetGalleryImages(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
  • Operation Id: GalleryImages_ListAll
GetGalleryImagesAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
  • Operation Id: GalleryImages_ListAll
GetGuestAgentResource(ArmClient, ResourceIdentifier)

Gets an object representing a GuestAgentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a GuestAgentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGuestAgentResource(ResourceIdentifier) instead.

GetHciCluster(ResourceGroupResource, String, CancellationToken)

Get HCI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
GetHciClusterAsync(ResourceGroupResource, String, CancellationToken)

Get HCI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}
  • Operation Id: Clusters_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
GetHciClusterDeploymentSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterDeploymentSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a HciClusterDeploymentSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterDeploymentSettingResource(ResourceIdentifier) instead.

GetHciClusterOfferResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterOfferResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a HciClusterOfferResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterOfferResource(ResourceIdentifier) instead.

GetHciClusterPublisherResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterPublisherResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a HciClusterPublisherResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterPublisherResource(ResourceIdentifier) instead.

GetHciClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a HciClusterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterResource(ResourceIdentifier) instead.

GetHciClusters(ResourceGroupResource)

Gets a collection of HciClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHciClusters() instead.

GetHciClusters(SubscriptionResource, CancellationToken)

List all HCI clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters
  • Operation Id: Clusters_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
GetHciClustersAsync(SubscriptionResource, CancellationToken)

List all HCI clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters
  • Operation Id: Clusters_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
GetHciClusterSecuritySettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterSecuritySettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a HciClusterSecuritySettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterSecuritySettingResource(ResourceIdentifier) instead.

GetHciClusterUpdateResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterUpdateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a HciClusterUpdateResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterUpdateResource(ResourceIdentifier) instead.

GetHciClusterUpdateRunResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterUpdateRunResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a HciClusterUpdateRunResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterUpdateRunResource(ResourceIdentifier) instead.

GetHciClusterUpdateSummaryResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciClusterUpdateSummaryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a HciClusterUpdateSummaryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciClusterUpdateSummaryResource(ResourceIdentifier) instead.

GetHciEdgeDevice(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetHciEdgeDeviceAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetHciEdgeDeviceResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciEdgeDeviceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a HciEdgeDeviceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciEdgeDeviceResource(ResourceIdentifier) instead.

GetHciEdgeDevices(ArmClient, ResourceIdentifier)

Gets a collection of HciEdgeDeviceResources in the ArmClient. MockingTo mock this method, please mock GetHciEdgeDevices(ResourceIdentifier) instead.

GetHciSkuResource(ArmClient, ResourceIdentifier)

Gets an object representing a HciSkuResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a HciSkuResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHciSkuResource(ResourceIdentifier) instead.

GetHybridIdentityMetadataResource(ArmClient, ResourceIdentifier)

Gets an object representing a HybridIdentityMetadataResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a HybridIdentityMetadataResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHybridIdentityMetadataResource(ResourceIdentifier) instead.

GetLogicalNetwork(ResourceGroupResource, String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
  • Operation Id: LogicalNetworks_Get
GetLogicalNetworkAsync(ResourceGroupResource, String, CancellationToken)
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
  • Operation Id: LogicalNetworks_Get
GetLogicalNetworkResource(ArmClient, ResourceIdentifier)

Gets an object representing a LogicalNetworkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a LogicalNetworkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLogicalNetworkResource(ResourceIdentifier) instead.

GetLogicalNetworks(ResourceGroupResource)

Gets a collection of LogicalNetworkResources in the ResourceGroupResource. MockingTo mock this method, please mock GetLogicalNetworks() instead.

GetLogicalNetworks(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/logicalNetworks
  • Operation Id: LogicalNetworks_ListAll
GetLogicalNetworksAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/logicalNetworks
  • Operation Id: LogicalNetworks_ListAll
GetMarketplaceGalleryImage(ResourceGroupResource, String, CancellationToken)

Gets a marketplace gallery image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
  • Operation Id: MarketplaceGalleryImages_Get
GetMarketplaceGalleryImageAsync(ResourceGroupResource, String, CancellationToken)

Gets a marketplace gallery image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}
  • Operation Id: MarketplaceGalleryImages_Get
GetMarketplaceGalleryImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a MarketplaceGalleryImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MarketplaceGalleryImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMarketplaceGalleryImageResource(ResourceIdentifier) instead.

GetMarketplaceGalleryImages(ResourceGroupResource)

Gets a collection of MarketplaceGalleryImageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMarketplaceGalleryImages() instead.

GetMarketplaceGalleryImages(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages
  • Operation Id: MarketplaceGalleryImages_ListAll
GetMarketplaceGalleryImagesAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages
  • Operation Id: MarketplaceGalleryImages_ListAll
GetNetworkInterface(ResourceGroupResource, String, CancellationToken)

Gets a network interface

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
GetNetworkInterfaceAsync(ResourceGroupResource, String, CancellationToken)

Gets a network interface

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
  • Operation Id: NetworkInterfaces_Get
GetNetworkInterfaceResource(ArmClient, ResourceIdentifier)

Gets an object representing a NetworkInterfaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a NetworkInterfaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNetworkInterfaceResource(ResourceIdentifier) instead.

GetNetworkInterfaces(ResourceGroupResource)

Gets a collection of NetworkInterfaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkInterfaces() instead.

GetNetworkInterfaces(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces
  • Operation Id: NetworkInterfaces_ListAll
GetNetworkInterfacesAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces
  • Operation Id: NetworkInterfaces_ListAll
GetStorageContainer(ResourceGroupResource, String, CancellationToken)

Gets a storage container

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
  • Operation Id: StorageContainers_Get
GetStorageContainerAsync(ResourceGroupResource, String, CancellationToken)

Gets a storage container

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}
  • Operation Id: StorageContainers_Get
GetStorageContainerResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageContainerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a StorageContainerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageContainerResource(ResourceIdentifier) instead.

GetStorageContainers(ResourceGroupResource)

Gets a collection of StorageContainerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStorageContainers() instead.

GetStorageContainers(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storageContainers
  • Operation Id: StorageContainers_ListAll
GetStorageContainersAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storageContainers
  • Operation Id: StorageContainers_ListAll
GetVirtualHardDisk(ResourceGroupResource, String, CancellationToken)

Gets a virtual hard disk

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
  • Operation Id: VirtualHardDisks_Get
GetVirtualHardDiskAsync(ResourceGroupResource, String, CancellationToken)

Gets a virtual hard disk

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
  • Operation Id: VirtualHardDisks_Get
GetVirtualHardDiskResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualHardDiskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualHardDiskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualHardDiskResource(ResourceIdentifier) instead.

GetVirtualHardDisks(ResourceGroupResource)

Gets a collection of VirtualHardDiskResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualHardDisks() instead.

GetVirtualHardDisks(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualHardDisks
  • Operation Id: VirtualHardDisks_ListAll
GetVirtualHardDisksAsync(SubscriptionResource, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualHardDisks
  • Operation Id: VirtualHardDisks_ListAll
GetVirtualMachineInstance(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineInstanceResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetVirtualMachineInstance(ResourceIdentifier) instead.

GetVirtualMachineInstanceResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a VirtualMachineInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineInstanceResource(ResourceIdentifier) instead.

Applies to