VirtualMachineVMImageOperationsExtensions.BeginSharing Method (IVirtualMachineVMImageOperations, String, String)
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)
Syntax
public static AzureOperationResponse BeginSharing(
this IVirtualMachineVMImageOperations operations,
string vmImageName,
string permission
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ BeginSharing(
IVirtualMachineVMImageOperations^ operations,
String^ vmImageName,
String^ permission
)
static member BeginSharing :
operations:IVirtualMachineVMImageOperations *
vmImageName:string *
permission:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function BeginSharing (
operations As IVirtualMachineVMImageOperations,
vmImageName As String,
permission As String
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperationsReference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.
vmImageName
Type: System.StringRequired. The name of the virtual machine image to share.
permission
Type: System.StringRequired. The sharing permission: public, msdn, or private.
Return Value
Type: Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
See Also
VirtualMachineVMImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top