共用方式為


CloudServiceRolesOperationsExtensions.Get Method

Definition

Gets a role from a cloud service.

public static Microsoft.Azure.Management.Compute.Models.CloudServiceRole Get (this Microsoft.Azure.Management.Compute.ICloudServiceRolesOperations operations, string roleName, string resourceGroupName, string cloudServiceName);
static member Get : Microsoft.Azure.Management.Compute.ICloudServiceRolesOperations * string * string * string -> Microsoft.Azure.Management.Compute.Models.CloudServiceRole
<Extension()>
Public Function Get (operations As ICloudServiceRolesOperations, roleName As String, resourceGroupName As String, cloudServiceName As String) As CloudServiceRole

Parameters

operations
ICloudServiceRolesOperations

The operations group for this extension method.

roleName
String

Name of the role.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

Returns

Applies to