C# Class Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkClient.ProviderFeatureClient

Helper client for performing operations on features
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
ListPSProviderFeatures ( bool listAvailable, string resourceProviderNamespace = null ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

Lists the features that ARM knows about

ListPSProviderFeatures ( string resourceProviderNamespace = null, string featureName = null ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

Lists the features that ARM knows about

ProviderFeatureClient ( ) : Microsoft.Azure.Commands.Common.Authentication

Initializes a new instance of the ProviderFeatureClient class.

ProviderFeatureClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Initializes a new instance of the ProviderFeatureClient class.

RegisterProviderFeature ( string providerName, string featureName ) : PSProviderFeature

Registers a feature on the current subscription

Private Methods

Méthode Description
IsFeatureRegistered ( FeatureResult feature ) : bool

Checks if a feature is registered with the current subscription

ListPSProviderFeatures ( string resourceProviderNamespace = null, string featureName = null, bool listAvailable = false ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

Lists the features that ARM knows about

Method Details

ListPSProviderFeatures() public méthode

Lists the features that ARM knows about
public ListPSProviderFeatures ( bool listAvailable, string resourceProviderNamespace = null ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]
listAvailable bool When set to true, lists all features that are available including those not registered on the current subscription
resourceProviderNamespace string When specified, returns all features that are defined by this resource provider namespace
Résultat Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

ListPSProviderFeatures() public méthode

Lists the features that ARM knows about
public ListPSProviderFeatures ( string resourceProviderNamespace = null, string featureName = null ) : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]
resourceProviderNamespace string When specified, returns all features that are defined by this resource provider namespace
featureName string When specified, returns all features that have this name
Résultat Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

ProviderFeatureClient() public méthode

Initializes a new instance of the ProviderFeatureClient class.
public ProviderFeatureClient ( ) : Microsoft.Azure.Commands.Common.Authentication
Résultat Microsoft.Azure.Commands.Common.Authentication

ProviderFeatureClient() public méthode

Initializes a new instance of the ProviderFeatureClient class.
public ProviderFeatureClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The azure context
Résultat Microsoft.Azure.Commands.Common.Authentication

RegisterProviderFeature() public méthode

Registers a feature on the current subscription
public RegisterProviderFeature ( string providerName, string featureName ) : PSProviderFeature
providerName string The name of the resource provider
featureName string The name of the feature
Résultat Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature