C# Class Microsoft.WindowsAzure.Commands.Utilities.Common.CommonUtilities

Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
GetDefaultSettings ( string rootPath, string inServiceName, string slot, string location, string affinityGroup, string storageName, string subscription, string &serviceName ) : ServiceSettings
GetRoleName ( string rootPath, string currentPath ) : string

Gets role name for the current pathif exists.

GetServiceRootPath ( string currentPath ) : string
TryGetServiceRootPath ( string currentPath ) : string

Tries to get service path, if not return null.

Private Methods

Méthode Description
FindServiceRootDirectory ( string path ) : string

Method Details

GetDefaultSettings() public static méthode

public static GetDefaultSettings ( string rootPath, string inServiceName, string slot, string location, string affinityGroup, string storageName, string subscription, string &serviceName ) : ServiceSettings
rootPath string
inServiceName string
slot string
location string
affinityGroup string
storageName string
subscription string
serviceName string
Résultat Microsoft.WindowsAzure.Commands.Utilities.CloudService.ServiceSettings

GetRoleName() public static méthode

Gets role name for the current pathif exists.
public static GetRoleName ( string rootPath, string currentPath ) : string
rootPath string
currentPath string
Résultat string

GetServiceRootPath() public static méthode

public static GetServiceRootPath ( string currentPath ) : string
currentPath string
Résultat string

TryGetServiceRootPath() public static méthode

Tries to get service path, if not return null.
public static TryGetServiceRootPath ( string currentPath ) : string
currentPath string The current path
Résultat string