C# Класс Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse deployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment, ExtensionConfigurationInput inputs, string slot ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
AddExtension ( Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceAddExtensionParameters extensionInput ) : void
CheckNameSpaceType ( HostedServiceListExtensionsResponse extension, string nameSpace, string type ) : bool
DeleteExtension ( string extensionId ) : void
ExtensionManager ( ServiceManagementBaseCmdlet cmdlet, string serviceName ) : System
GetBuilder ( ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder
GetBuilder ( Microsoft config ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder
GetExtension ( string extensionId ) : HostedServiceListExtensionsResponse.Extension
InstallExtension ( ExtensionConfigurationInput context, string slot, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse deployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
InstallExtension ( ExtensionConfigurationInput context, string slot, Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration extConfig, Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration secondSlotExtConfig ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
Set ( Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse currentDeployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment, ExtensionConfigurationInput inputs, string slot ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
Uninstall ( string nameSpace, string type, Microsoft extConfig ) : void
UpdateExtensionState ( ExtensionConfigurationInput input ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
Validate ( ExtensionConfigurationInput inputs, string &errorConfigInput ) : bool

Приватные методы

Метод Описание
GetThumbprintAndAlgorithm ( IList extensionList, string extensionId, string &thumbprint, string &thumbprintAlgorithm ) : void

Описание методов

Add() публичный Метод

public Add ( Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse deployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment, ExtensionConfigurationInput inputs, string slot ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
deployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
peerDeployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
inputs ExtensionConfigurationInput
slot string
Результат Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration

AddExtension() публичный Метод

public AddExtension ( Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceAddExtensionParameters extensionInput ) : void
extensionInput Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceAddExtensionParameters
Результат void

CheckNameSpaceType() публичный Метод

public CheckNameSpaceType ( HostedServiceListExtensionsResponse extension, string nameSpace, string type ) : bool
extension HostedServiceListExtensionsResponse
nameSpace string
type string
Результат bool

DeleteExtension() публичный Метод

public DeleteExtension ( string extensionId ) : void
extensionId string
Результат void

ExtensionManager() публичный Метод

public ExtensionManager ( ServiceManagementBaseCmdlet cmdlet, string serviceName ) : System
cmdlet ServiceManagementBaseCmdlet
serviceName string
Результат System

GetBuilder() публичный Метод

public GetBuilder ( ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder
Результат Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder

GetBuilder() публичный Метод

public GetBuilder ( Microsoft config ) : Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder
config Microsoft
Результат Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionConfigurationBuilder

GetExtension() публичный Метод

public GetExtension ( string extensionId ) : HostedServiceListExtensionsResponse.Extension
extensionId string
Результат HostedServiceListExtensionsResponse.Extension

InstallExtension() публичный Метод

public InstallExtension ( ExtensionConfigurationInput context, string slot, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse deployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
context ExtensionConfigurationInput
slot string
deployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
peerDeployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
Результат Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration

InstallExtension() публичный Метод

public InstallExtension ( ExtensionConfigurationInput context, string slot, Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration extConfig, Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration secondSlotExtConfig ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
context ExtensionConfigurationInput
slot string
extConfig Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
secondSlotExtConfig Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
Результат Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration

Set() публичный Метод

public Set ( Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse currentDeployment, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse peerDeployment, ExtensionConfigurationInput inputs, string slot ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
currentDeployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
peerDeployment Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
inputs ExtensionConfigurationInput
slot string
Результат Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration

Uninstall() публичный Метод

public Uninstall ( string nameSpace, string type, Microsoft extConfig ) : void
nameSpace string
type string
extConfig Microsoft
Результат void

UpdateExtensionState() публичный Метод

public UpdateExtensionState ( ExtensionConfigurationInput input ) : Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration
input ExtensionConfigurationInput
Результат Microsoft.WindowsAzure.Management.Compute.Models.ExtensionConfiguration

Validate() публичный статический Метод

public static Validate ( ExtensionConfigurationInput inputs, string &errorConfigInput ) : bool
inputs ExtensionConfigurationInput
errorConfigInput string
Результат bool