C# 클래스 Microsoft.WindowsAzure.Commands.Utilities.Store.StoreClient

파일 보기 프로젝트 열기: Azure/azure-powershell

Private Properties

프로퍼티 타입 설명
Base32NoPaddingEncode string
CreateCloudServiceIfNotExists string
GetCloudServiceName string
GetResourceInformation string
GetStoreCloudServices List
IsDataService bool

공개 메소드들

메소드 설명
GetAddOn ( AddOnSearchOptions searchOptions = null ) : List

Gets add ons based on the passed filter.

GetConfirmationMessage ( OperationType operation, string addon = null, string plan = null ) : string

Gets confirmation message for the given operation.

GetLocations ( ) : List
NewAddOn ( string name, string addon, string plan, string location, string promotionCode ) : void
RemoveAddOn ( string name ) : void

Removes given Add-On

StoreClient ( ) : System

Parameterless constructor added for mocking framework.

StoreClient ( AzureSMProfile profile, AzureSubscription subscription ) : System

Creates new instance from the store client.

StoreClient ( AzureSubscription subscription, Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient compute, Microsoft.WindowsAzure.Management.Store.StoreManagementClient store, Microsoft.WindowsAzure.Commands.Utilities.Store.MarketplaceClient marketplace, Microsoft.WindowsAzure.Management.ManagementClient management ) : System
TryGetAddOn ( string name, Microsoft.WindowsAzure.Commands.Utilities.Store.WindowsAzureAddOn &addon ) : bool

Tries to get an add-on using it's name.

UpdateAddOn ( string name, string plan, string promotionCode ) : void

Updates an add-on plan.

비공개 메소드들

메소드 설명
Base32NoPaddingEncode ( byte data ) : string
CreateCloudServiceIfNotExists ( string location ) : string
GetCloudServiceName ( string subscriptionId, string region ) : string
GetResourceInformation ( string addon, string location, string &type, string &cloudService ) : string
GetStoreCloudServices ( ) : List
IsDataService ( string type ) : bool

메소드 상세

GetAddOn() 공개 메소드

Gets add ons based on the passed filter.
public GetAddOn ( AddOnSearchOptions searchOptions = null ) : List
searchOptions AddOnSearchOptions The add on search options
리턴 List

GetConfirmationMessage() 공개 메소드

Gets confirmation message for the given operation.
public GetConfirmationMessage ( OperationType operation, string addon = null, string plan = null ) : string
operation OperationType The operation type
addon string The add-on id
plan string The plan id
리턴 string

GetLocations() 공개 메소드

public GetLocations ( ) : List
리턴 List

NewAddOn() 공개 메소드

public NewAddOn ( string name, string addon, string plan, string location, string promotionCode ) : void
name string
addon string
plan string
location string
promotionCode string
리턴 void

RemoveAddOn() 공개 메소드

Removes given Add-On
public RemoveAddOn ( string name ) : void
name string The add-on name
리턴 void

StoreClient() 공개 메소드

Parameterless constructor added for mocking framework.
public StoreClient ( ) : System
리턴 System

StoreClient() 공개 메소드

Creates new instance from the store client.
public StoreClient ( AzureSMProfile profile, AzureSubscription subscription ) : System
profile AzureSMProfile
subscription AzureSubscription The Microsoft Azure subscription
리턴 System

StoreClient() 공개 메소드

public StoreClient ( AzureSubscription subscription, Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient compute, Microsoft.WindowsAzure.Management.Store.StoreManagementClient store, Microsoft.WindowsAzure.Commands.Utilities.Store.MarketplaceClient marketplace, Microsoft.WindowsAzure.Management.ManagementClient management ) : System
subscription AzureSubscription
compute Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient
store Microsoft.WindowsAzure.Management.Store.StoreManagementClient
marketplace Microsoft.WindowsAzure.Commands.Utilities.Store.MarketplaceClient
management Microsoft.WindowsAzure.Management.ManagementClient
리턴 System

TryGetAddOn() 공개 메소드

Tries to get an add-on using it's name.
public TryGetAddOn ( string name, Microsoft.WindowsAzure.Commands.Utilities.Store.WindowsAzureAddOn &addon ) : bool
name string The add-on name
addon Microsoft.WindowsAzure.Commands.Utilities.Store.WindowsAzureAddOn The add-on instance. Will be null if not found
리턴 bool

UpdateAddOn() 공개 메소드

Updates an add-on plan.
public UpdateAddOn ( string name, string plan, string promotionCode ) : void
name string The add-on name
plan string The add-on new plan id
promotionCode string The plan promotion code
리턴 void