HostedServiceOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Get Hosted Service Properties operation retrieves system properties for the specified cloud service. These properties include the service name and service type; and the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460806.aspx for more information)
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string serviceName);
static member GetAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetResponse>
<Extension()>
Public Function GetAsync (operations As IHostedServiceOperations, serviceName As String) As Task(Of HostedServiceGetResponse)
Parameters
- operations
- IHostedServiceOperations
Reference to the Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.
- serviceName
- String
Required. The name of the cloud service.
Returns
The Get Hosted Service operation response.
Applies to
Azure SDK for .NET