C# Class Microsoft.Azure.Commands.TrafficManager.Utilities.TrafficManagerClient

Show file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

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

Private Methods

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

Method Details

CreateTrafficManagerEndpoint() public method

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
return TrafficManagerEndpoint

CreateTrafficManagerProfile() public method

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
return TrafficManagerProfile

DeleteTrafficManagerEndpoint() public method

public DeleteTrafficManagerEndpoint ( TrafficManagerEndpoint trafficManagerEndpoint ) : bool
trafficManagerEndpoint TrafficManagerEndpoint
return bool

DeleteTrafficManagerProfile() public method

public DeleteTrafficManagerProfile ( TrafficManagerProfile profile ) : bool
profile TrafficManagerProfile
return bool

EnableDisableTrafficManagerEndpoint() public method

public EnableDisableTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint, bool shouldEnableEndpointStatus ) : bool
endpoint TrafficManagerEndpoint
shouldEnableEndpointStatus bool
return bool

EnableDisableTrafficManagerProfile() public method

public EnableDisableTrafficManagerProfile ( TrafficManagerProfile profile, bool shouldEnableProfileStatus ) : bool
profile TrafficManagerProfile
shouldEnableProfileStatus bool
return bool

GetTrafficManagerEndpoint() public method

public GetTrafficManagerEndpoint ( string resourceGroupName, string profileName, string endpointType, string endpointName ) : TrafficManagerEndpoint
resourceGroupName string
profileName string
endpointType string
endpointName string
return TrafficManagerEndpoint

GetTrafficManagerProfile() public method

public GetTrafficManagerProfile ( string resourceGroupName, string profileName ) : TrafficManagerProfile
resourceGroupName string
profileName string
return TrafficManagerProfile

ListTrafficManagerProfiles() public method

public ListTrafficManagerProfiles ( string resourceGroupName = null ) : TrafficManagerProfile[]
resourceGroupName string
return TrafficManagerProfile[]

SetTrafficManagerEndpoint() public method

public SetTrafficManagerEndpoint ( TrafficManagerEndpoint endpoint ) : TrafficManagerEndpoint
endpoint TrafficManagerEndpoint
return TrafficManagerEndpoint

SetTrafficManagerProfile() public method

public SetTrafficManagerProfile ( TrafficManagerProfile profile ) : TrafficManagerProfile
profile TrafficManagerProfile
return TrafficManagerProfile

TrafficManagerClient() public method

public TrafficManagerClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

TrafficManagerClient() public method

public TrafficManagerClient ( ITrafficManagerManagementClient client ) : Microsoft.Azure.Commands.Common.Authentication
client ITrafficManagerManagementClient
return Microsoft.Azure.Commands.Common.Authentication