Dela via


AutomanageExtensions Class

Definition

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

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

Methods

GetAutomanageBestPractice(TenantResource, String, CancellationToken)

Get information about a Automanage best practice

  • Request Path: /providers/Microsoft.Automanage/bestPractices/{bestPracticeName}
  • Operation Id: BestPractices_Get
GetAutomanageBestPracticeAsync(TenantResource, String, CancellationToken)

Get information about a Automanage best practice

  • Request Path: /providers/Microsoft.Automanage/bestPractices/{bestPracticeName}
  • Operation Id: BestPractices_Get
GetAutomanageBestPracticeResource(ArmClient, ResourceIdentifier)

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

GetAutomanageBestPractices(TenantResource)

Gets a collection of AutomanageBestPracticeResources in the TenantResource. MockingTo mock this method, please mock GetAutomanageBestPractices() instead.

GetAutomanageConfigurationProfile(ResourceGroupResource, String, CancellationToken)

Get information about a configuration profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automanage/configurationProfiles/{configurationProfileName}
  • Operation Id: ConfigurationProfiles_Get
GetAutomanageConfigurationProfileAsync(ResourceGroupResource, String, CancellationToken)

Get information about a configuration profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automanage/configurationProfiles/{configurationProfileName}
  • Operation Id: ConfigurationProfiles_Get
GetAutomanageConfigurationProfileResource(ArmClient, ResourceIdentifier)

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

GetAutomanageConfigurationProfiles(ResourceGroupResource)

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

GetAutomanageConfigurationProfiles(SubscriptionResource, CancellationToken)

Retrieve a list of configuration profile within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/configurationProfiles
  • Operation Id: ConfigurationProfiles_ListBySubscription
GetAutomanageConfigurationProfilesAsync(SubscriptionResource, CancellationToken)

Retrieve a list of configuration profile within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/configurationProfiles
  • Operation Id: ConfigurationProfiles_ListBySubscription
GetAutomanageConfigurationProfileVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageConfigurationProfileVersionResource 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 AutomanageConfigurationProfileVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageConfigurationProfileVersionResource(ResourceIdentifier) instead.

GetAutomanageHciClusterConfigurationProfileAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHci/clusters/{clusterName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileHCIAssignments_Get
GetAutomanageHciClusterConfigurationProfileAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHci/clusters/{clusterName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileHCIAssignments_Get
GetAutomanageHciClusterConfigurationProfileAssignmentReportResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageHciClusterConfigurationProfileAssignmentReportResource 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 AutomanageHciClusterConfigurationProfileAssignmentReportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageHciClusterConfigurationProfileAssignmentReportResource(ResourceIdentifier) instead.

GetAutomanageHciClusterConfigurationProfileAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageHciClusterConfigurationProfileAssignmentResource 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 AutomanageHciClusterConfigurationProfileAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageHciClusterConfigurationProfileAssignmentResource(ResourceIdentifier) instead.

GetAutomanageHciClusterConfigurationProfileAssignments(ArmClient, ResourceIdentifier)

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

GetAutomanageHcrpConfigurationProfileAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileHCRPAssignments_Get
GetAutomanageHcrpConfigurationProfileAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileHCRPAssignments_Get
GetAutomanageHcrpConfigurationProfileAssignmentReportResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageHcrpConfigurationProfileAssignmentReportResource 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 AutomanageHcrpConfigurationProfileAssignmentReportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageHcrpConfigurationProfileAssignmentReportResource(ResourceIdentifier) instead.

GetAutomanageHcrpConfigurationProfileAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageHcrpConfigurationProfileAssignmentResource 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 AutomanageHcrpConfigurationProfileAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageHcrpConfigurationProfileAssignmentResource(ResourceIdentifier) instead.

GetAutomanageHcrpConfigurationProfileAssignments(ArmClient, ResourceIdentifier)

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

GetAutomanageVmConfigurationProfileAssignment(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileAssignments_Get
GetAutomanageVmConfigurationProfileAssignmentAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get information about a configuration profile assignment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.Automanage/configurationProfileAssignments/{configurationProfileAssignmentName}
  • Operation Id: ConfigurationProfileAssignments_Get
GetAutomanageVmConfigurationProfileAssignmentReportResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageVmConfigurationProfileAssignmentReportResource 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 AutomanageVmConfigurationProfileAssignmentReportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageVmConfigurationProfileAssignmentReportResource(ResourceIdentifier) instead.

GetAutomanageVmConfigurationProfileAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutomanageVmConfigurationProfileAssignmentResource 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 AutomanageVmConfigurationProfileAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutomanageVmConfigurationProfileAssignmentResource(ResourceIdentifier) instead.

GetAutomanageVmConfigurationProfileAssignments(ArmClient, ResourceIdentifier)

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

GetServicePrincipal(SubscriptionResource, CancellationToken)

Get the Automanage AAD first party Application Service Principal details for the subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals/default
  • Operation Id: ServicePrincipals_Get
GetServicePrincipalAsync(SubscriptionResource, CancellationToken)

Get the Automanage AAD first party Application Service Principal details for the subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals/default
  • Operation Id: ServicePrincipals_Get
GetServicePrincipals(SubscriptionResource, CancellationToken)

Get the Automanage AAD first party Application Service Principal details for the subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals
  • Operation Id: ServicePrincipals_ListBySubscription
GetServicePrincipalsAsync(SubscriptionResource, CancellationToken)

Get the Automanage AAD first party Application Service Principal details for the subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/servicePrincipals
  • Operation Id: ServicePrincipals_ListBySubscription

Applies to