ResourceIdBuilder.BuildVirtualMachineResourceId 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.
Builds the resource id of the virtual machine resource.
public static string BuildVirtualMachineResourceId(string cloudServiceName, string deploymentName, string roleName = default, string roleInstanceId = default);
static member BuildVirtualMachineResourceId : string * string * string * string -> string
Public Shared Function BuildVirtualMachineResourceId (cloudServiceName As String, deploymentName As String, Optional roleName As String = Nothing, Optional roleInstanceId As String = Nothing) As String
Parameters
- cloudServiceName
- String
The cloud service name.
- deploymentName
- String
The deployment name.
- roleName
- String
The role name.
- roleInstanceId
- String
The role instance id.
Returns
The resource id.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET