VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Customization API service. More...
Inherits vmware::vcenter::vm::guest::Customization.
Public Member Functions | |
CustomizationStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config) | |
CustomizationStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
void | Set (string vm, vmware.vcenter.vm.guest.CustomizationTypes.SetSpec spec) |
Applies a customization specification in spec on the virtual machine in vm . | |
void | Set (string vm, vmware.vcenter.vm.guest.CustomizationTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Applies a customization specification in spec on the virtual machine in vm . | |
global::System.Threading.Tasks.Task | SetAsync (string vm, vmware.vcenter.vm.guest.CustomizationTypes.SetSpec spec) |
Applies a customization specification in spec on the virtual machine in vm . | |
global::System.Threading.Tasks.Task | SetAsync (string vm, vmware.vcenter.vm.guest.CustomizationTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Applies a customization specification in spec on the virtual machine in vm . |
Remote stub implementation of the Customization API service.
vmware::vcenter::vm::guest::CustomizationStub::CustomizationStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::vm::guest::CustomizationStub::CustomizationStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
void vmware::vcenter::vm::guest::CustomizationStub::Set | ( | string | vm, |
vmware.vcenter.vm.guest.CustomizationTypes.SetSpec | spec | ||
) | [inline] |
Applies a customization specification in spec on the virtual machine in vm .
This method only sets the specification settings for the virtual machine. The actual customization happens inside the guest when the virtual machine is powered on. If spec has null values, then any pending customization settings for the virtual machine are cleared. If there is a pending customization for the virtual machine and spec has valid content, then the existing customization setting will be overwritten with the new settings. This method was added in vSphere API 7.0.0.
vmware.vapi.std.errors.InvalidArgument | if the customization settings in spec are not valid. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine vm is not in a powered off state. |
vmware.vapi.std.errors.NotFound | if a customization specification is not found with the unique name in spec . |
vmware.vapi.std.errors.NotFound | If the virtual machine vm is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | The unique identifier of the virtual machine that needs to be customized. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The customization settings to be applied to the guest operating system. |
Implements vmware::vcenter::vm::guest::Customization.
void vmware::vcenter::vm::guest::CustomizationStub::Set | ( | string | vm, |
vmware.vcenter.vm.guest.CustomizationTypes.SetSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Applies a customization specification in spec on the virtual machine in vm .
This method only sets the specification settings for the virtual machine. The actual customization happens inside the guest when the virtual machine is powered on. If spec has null values, then any pending customization settings for the virtual machine are cleared. If there is a pending customization for the virtual machine and spec has valid content, then the existing customization setting will be overwritten with the new settings. This method was added in vSphere API 7.0.0.
vmware.vapi.std.errors.InvalidArgument | if the customization settings in spec are not valid. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine vm is not in a powered off state. |
vmware.vapi.std.errors.NotFound | if a customization specification is not found with the unique name in spec . |
vmware.vapi.std.errors.NotFound | If the virtual machine vm is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | The unique identifier of the virtual machine that needs to be customized. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The customization settings to be applied to the guest operating system. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::guest::Customization.
global::System.Threading.Tasks.Task vmware::vcenter::vm::guest::CustomizationStub::SetAsync | ( | string | vm, |
vmware.vcenter.vm.guest.CustomizationTypes.SetSpec | spec | ||
) | [inline] |
Applies a customization specification in spec on the virtual machine in vm .
This method only sets the specification settings for the virtual machine. The actual customization happens inside the guest when the virtual machine is powered on. If spec has null values, then any pending customization settings for the virtual machine are cleared. If there is a pending customization for the virtual machine and spec has valid content, then the existing customization setting will be overwritten with the new settings. This method was added in vSphere API 7.0.0.
vmware.vapi.std.errors.InvalidArgument | if the customization settings in spec are not valid. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine vm is not in a powered off state. |
vmware.vapi.std.errors.NotFound | if a customization specification is not found with the unique name in spec . |
vmware.vapi.std.errors.NotFound | If the virtual machine vm is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | The unique identifier of the virtual machine that needs to be customized. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The customization settings to be applied to the guest operating system. |
Implements vmware::vcenter::vm::guest::Customization.
global::System.Threading.Tasks.Task vmware::vcenter::vm::guest::CustomizationStub::SetAsync | ( | string | vm, |
vmware.vcenter.vm.guest.CustomizationTypes.SetSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Applies a customization specification in spec on the virtual machine in vm .
This method only sets the specification settings for the virtual machine. The actual customization happens inside the guest when the virtual machine is powered on. If spec has null values, then any pending customization settings for the virtual machine are cleared. If there is a pending customization for the virtual machine and spec has valid content, then the existing customization setting will be overwritten with the new settings. This method was added in vSphere API 7.0.0.
vmware.vapi.std.errors.InvalidArgument | if the customization settings in spec are not valid. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine vm is not in a powered off state. |
vmware.vapi.std.errors.NotFound | if a customization specification is not found with the unique name in spec . |
vmware.vapi.std.errors.NotFound | If the virtual machine vm is not found. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | The unique identifier of the virtual machine that needs to be customized. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | The customization settings to be applied to the guest operating system. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::vm::guest::Customization.