C# Класс Microsoft.Azure.Commands.TrafficManager.Utilities.TrafficManagerClient

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

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

Метод Описание
CreateTrafficManagerEndpoint ( string resourceGroupName, string profileName, string endpointType, string endpointName, string targetResourceId, string target, string endpointStatus, uint weight, uint priority, string endpointLocation, uint minChildEndpoints ) : TrafficManagerEndpoint
CreateTrafficManagerProfile ( string resourceGroupName, string profileName, string profileStatus, string trafficRoutingMethod, string relativeDnsName, uint ttl, string monitorProtocol, uint monitorPort, string monitorPath, Hashtable tag ) : TrafficManagerProfile
DeleteTrafficManagerEndpoint ( TrafficManagerEndpoint trafficManagerEndpoint ) : bool
DeleteTrafficManagerProfile ( TrafficManagerProfile profile ) : bool
EnableDisableTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint, bool shouldEnableEndpointStatus ) : bool
EnableDisableTrafficManagerProfile ( TrafficManagerProfile profile, bool shouldEnableProfileStatus ) : bool
GetTrafficManagerEndpoint ( string resourceGroupName, string profileName, string endpointType, string endpointName ) : TrafficManagerEndpoint
GetTrafficManagerProfile ( string resourceGroupName, string profileName ) : TrafficManagerProfile
ListTrafficManagerProfiles ( string resourceGroupName = null ) : TrafficManagerProfile[]
SetTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint ) : TrafficManagerEndpoint
SetTrafficManagerProfile ( TrafficManagerProfile profile ) : TrafficManagerProfile
TrafficManagerClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
TrafficManagerClient ( ITrafficManagerManagementClient client ) : Microsoft.Azure.Commands.Common.Authentication

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

Метод Описание
ExtractResourceGroupFromId ( string id ) : string
GetPowershellTrafficManagerEndpoint ( string id, string resourceGroupName, string profileName, string endpointType, string endpointName, EndpointProperties mamlEndpointProperties ) : TrafficManagerEndpoint
GetPowershellTrafficManagerProfile ( string resourceGroupName, string profileName, Profile mamlProfile ) : TrafficManagerProfile

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

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

public CreateTrafficManagerEndpoint ( string resourceGroupName, string profileName, string endpointType, string endpointName, string targetResourceId, string target, string endpointStatus, uint weight, uint priority, string endpointLocation, uint minChildEndpoints ) : TrafficManagerEndpoint
resourceGroupName string
profileName string
endpointType string
endpointName string
targetResourceId string
target string
endpointStatus string
weight uint
priority uint
endpointLocation string
minChildEndpoints uint
Результат TrafficManagerEndpoint

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

public CreateTrafficManagerProfile ( string resourceGroupName, string profileName, string profileStatus, string trafficRoutingMethod, string relativeDnsName, uint ttl, string monitorProtocol, uint monitorPort, string monitorPath, Hashtable tag ) : TrafficManagerProfile
resourceGroupName string
profileName string
profileStatus string
trafficRoutingMethod string
relativeDnsName string
ttl uint
monitorProtocol string
monitorPort uint
monitorPath string
tag System.Collections.Hashtable
Результат TrafficManagerProfile

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

public DeleteTrafficManagerEndpoint ( TrafficManagerEndpoint trafficManagerEndpoint ) : bool
trafficManagerEndpoint TrafficManagerEndpoint
Результат bool

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

public DeleteTrafficManagerProfile ( TrafficManagerProfile profile ) : bool
profile TrafficManagerProfile
Результат bool

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

public EnableDisableTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint, bool shouldEnableEndpointStatus ) : bool
endpoint TrafficManagerEndpoint
shouldEnableEndpointStatus bool
Результат bool

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

public EnableDisableTrafficManagerProfile ( TrafficManagerProfile profile, bool shouldEnableProfileStatus ) : bool
profile TrafficManagerProfile
shouldEnableProfileStatus bool
Результат bool

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

public GetTrafficManagerEndpoint ( string resourceGroupName, string profileName, string endpointType, string endpointName ) : TrafficManagerEndpoint
resourceGroupName string
profileName string
endpointType string
endpointName string
Результат TrafficManagerEndpoint

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

public GetTrafficManagerProfile ( string resourceGroupName, string profileName ) : TrafficManagerProfile
resourceGroupName string
profileName string
Результат TrafficManagerProfile

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

public ListTrafficManagerProfiles ( string resourceGroupName = null ) : TrafficManagerProfile[]
resourceGroupName string
Результат TrafficManagerProfile[]

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

public SetTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint ) : TrafficManagerEndpoint
endpoint TrafficManagerEndpoint
Результат TrafficManagerEndpoint

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

public SetTrafficManagerProfile ( TrafficManagerProfile profile ) : TrafficManagerProfile
profile TrafficManagerProfile
Результат TrafficManagerProfile

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

public TrafficManagerClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication

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

public TrafficManagerClient ( ITrafficManagerManagementClient client ) : Microsoft.Azure.Commands.Common.Authentication
client ITrafficManagerManagementClient
Результат Microsoft.Azure.Commands.Common.Authentication