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

Helper client for performing operations on features
ファイルを表示 Open project: Azure/azure-powershell

Public Methods

Method 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

Method 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 method

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
return Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

ListPSProviderFeatures() public method

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
return Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature[]

ProviderFeatureClient() public method

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

ProviderFeatureClient() public method

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
return Microsoft.Azure.Commands.Common.Authentication

RegisterProviderFeature() public method

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
return Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSProviderFeature