HostedServiceOperationsExtensions::BeginAddingExtensionAsync Method (IHostedServiceOperations^, String^, HostedServiceAddExtensionParameters^)
Asynchronously initiates the addition of an available extension to a cloud service.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public: [ExtensionAttribute] static Task<AzureOperationResponse^>^ BeginAddingExtensionAsync( IHostedServiceOperations^ operations, String^ serviceName, HostedServiceAddExtensionParameters^ parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute::IHostedServiceOperations^
The IHostedServiceOperations object that specifies the cloud service operations.
- serviceName
-
Type:
System::String^
The name of the cloud service to which the extension should be added.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models::HostedServiceAddExtensionParameters^
The HostedServiceAddExtensionParameters object that specifies the cloud service operations.
Return Value
Type: System.Threading.Tasks::Task<AzureOperationResponse^>^An OperationResponse object that includes an HTTP status code and request ID.
In Azure, a process can run as an extension of a cloud service. For example, Remote Desktop Access or the Azure Diagnostics Agent can run as extensions to the cloud service.
For more information about adding extensions, see the following resources:
Show: