IVirtualMachineVMImageOperations.BeginSharingAsync Method (String, String, CancellationToken)

 

Share an already replicated VM image. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Function BeginSharingAsync (
	vmImageName As String,
	permission As String,
	cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

vmImageName
Type: System.String

The name of the virtual machine image to share.

permission
Type: System.String

The sharing permission: public, msdn, or private.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of AzureOperationResponse)

A standard service response including an HTTP status code and request ID.

Return to top
Show: