VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Tls API service. More...
Inherits vmware::vcenter::certificate_management::vcenter::Tls.
Public Member Functions | |
TlsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config) | |
TlsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
void | Set (vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec spec) |
Replaces the rhttpproxy TLS certificate with the specified certificate. | |
void | Set (vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Replaces the rhttpproxy TLS certificate with the specified certificate. | |
global::System.Threading.Tasks.Task | SetAsync (vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec spec) |
Replaces the rhttpproxy TLS certificate with the specified certificate. | |
global::System.Threading.Tasks.Task | SetAsync (vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Replaces the rhttpproxy TLS certificate with the specified certificate. | |
vmware.vcenter.certificate_management.vcenter.TlsTypes.Info | Get () |
Returns the rhttpproxy TLS certificate. | |
vmware.vcenter.certificate_management.vcenter.TlsTypes.Info | Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns the rhttpproxy TLS certificate. | |
global::System.Threading.Tasks.Task < vmware.vcenter.certificate_management.vcenter.TlsTypes.Info > | GetAsync () |
Returns the rhttpproxy TLS certificate. | |
global::System.Threading.Tasks.Task < vmware.vcenter.certificate_management.vcenter.TlsTypes.Info > | GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns the rhttpproxy TLS certificate. | |
void | Renew (long?duration) |
Renews the TLS certificate for the given duration period. | |
void | Renew (long?duration, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Renews the TLS certificate for the given duration period. | |
global::System.Threading.Tasks.Task | RenewAsync (long?duration) |
Renews the TLS certificate for the given duration period. | |
global::System.Threading.Tasks.Task | RenewAsync (long?duration, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Renews the TLS certificate for the given duration period. | |
void | ReplaceVmcaSigned (vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec spec) |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart. | |
void | ReplaceVmcaSigned (vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart. | |
global::System.Threading.Tasks.Task | ReplaceVmcaSignedAsync (vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec spec) |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart. | |
global::System.Threading.Tasks.Task | ReplaceVmcaSignedAsync (vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart. |
Remote stub implementation of the Tls API service.
vmware::vcenter::certificate_management::vcenter::TlsStub::TlsStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::certificate_management::vcenter::TlsStub::TlsStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware.vcenter.certificate_management.vcenter.TlsTypes.Info vmware::vcenter::certificate_management::vcenter::TlsStub::Get | ( | ) | [inline] |
Returns the rhttpproxy TLS certificate.
This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | if the rhttpproxy certificate is not present in VECS store. |
vmware.vapi.std.errors.Error | if failed due to generic exception. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::certificate_management::vcenter::Tls.
vmware.vcenter.certificate_management.vcenter.TlsTypes.Info vmware::vcenter::certificate_management::vcenter::TlsStub::Get | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns the rhttpproxy TLS certificate.
This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | if the rhttpproxy certificate is not present in VECS store. |
vmware.vapi.std.errors.Error | if failed due to generic exception. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task<vmware.vcenter.certificate_management.vcenter.TlsTypes.Info> vmware::vcenter::certificate_management::vcenter::TlsStub::GetAsync | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Returns the rhttpproxy TLS certificate.
This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | if the rhttpproxy certificate is not present in VECS store. |
vmware.vapi.std.errors.Error | if failed due to generic exception. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task<vmware.vcenter.certificate_management.vcenter.TlsTypes.Info> vmware::vcenter::certificate_management::vcenter::TlsStub::GetAsync | ( | ) | [inline] |
Returns the rhttpproxy TLS certificate.
This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | if the rhttpproxy certificate is not present in VECS store. |
vmware.vapi.std.errors.Error | if failed due to generic exception. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::Renew | ( | long? | duration | ) | [inline] |
Renews the TLS certificate for the given duration period.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.Unsupported | If the TLS certificate is not VMCA generated. |
vmware.vapi.std.errors.InvalidArgument | If the duration period specified is invalid. |
vmware.vapi.std.errors.Error | If the system failed to renew the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
duration | The duration (in days) of the new TLS certificate. The duration should be less than or equal to 730 days. If null, the duration will be 730 days (two years). |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::Renew | ( | long? | duration, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Renews the TLS certificate for the given duration period.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.Unsupported | If the TLS certificate is not VMCA generated. |
vmware.vapi.std.errors.InvalidArgument | If the duration period specified is invalid. |
vmware.vapi.std.errors.Error | If the system failed to renew the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
duration | The duration (in days) of the new TLS certificate. The duration should be less than or equal to 730 days. If null, the duration will be 730 days (two years). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::RenewAsync | ( | long? | duration | ) | [inline] |
Renews the TLS certificate for the given duration period.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.Unsupported | If the TLS certificate is not VMCA generated. |
vmware.vapi.std.errors.InvalidArgument | If the duration period specified is invalid. |
vmware.vapi.std.errors.Error | If the system failed to renew the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
duration | The duration (in days) of the new TLS certificate. The duration should be less than or equal to 730 days. If null, the duration will be 730 days (two years). |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::RenewAsync | ( | long? | duration, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Renews the TLS certificate for the given duration period.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.Unsupported | If the TLS certificate is not VMCA generated. |
vmware.vapi.std.errors.InvalidArgument | If the duration period specified is invalid. |
vmware.vapi.std.errors.Error | If the system failed to renew the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
duration | The duration (in days) of the new TLS certificate. The duration should be less than or equal to 730 days. If null, the duration will be 730 days (two years). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::ReplaceVmcaSigned | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec | spec | ) | [inline] |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.9.1.
vmware.vapi.std.errors.InvalidArgument | If the Spec given is not complete or invalid |
vmware.vapi.std.errors.Error | If the system failed to replace the machine ssl certificate |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to generate VMCA signed Machine SSL |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::ReplaceVmcaSigned | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.9.1.
vmware.vapi.std.errors.InvalidArgument | If the Spec given is not complete or invalid |
vmware.vapi.std.errors.Error | If the system failed to replace the machine ssl certificate |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to generate VMCA signed Machine SSL |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::ReplaceVmcaSignedAsync | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec | spec | ) | [inline] |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.9.1.
vmware.vapi.std.errors.InvalidArgument | If the Spec given is not complete or invalid |
vmware.vapi.std.errors.Error | If the system failed to replace the machine ssl certificate |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to generate VMCA signed Machine SSL |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::ReplaceVmcaSignedAsync | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.ReplaceSpec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Replace MACHINE SSL with VMCA signed one with the given Spec.The system will go for restart.
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.. This method was added in vSphere API 6.9.1.
vmware.vapi.std.errors.InvalidArgument | If the Spec given is not complete or invalid |
vmware.vapi.std.errors.Error | If the system failed to replace the machine ssl certificate |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to generate VMCA signed Machine SSL |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::Set | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Replaces the rhttpproxy TLS certificate with the specified certificate.
This method can be used in three scenarios :
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
The above three scenarios are only supported from vsphere 7.0 onwards.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | If the private key is not present in the VECS store. |
vmware.vapi.std.errors.AlreadyExists | If the specified certificate thumbprint is the same as the existing TLS certificate thumbprint. |
vmware.vapi.std.errors.Error | If the system failed to replace the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to replace the TLS certificate. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
void vmware::vcenter::certificate_management::vcenter::TlsStub::Set | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec | spec | ) | [inline] |
Replaces the rhttpproxy TLS certificate with the specified certificate.
This method can be used in three scenarios :
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
The above three scenarios are only supported from vsphere 7.0 onwards.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | If the private key is not present in the VECS store. |
vmware.vapi.std.errors.AlreadyExists | If the specified certificate thumbprint is the same as the existing TLS certificate thumbprint. |
vmware.vapi.std.errors.Error | If the system failed to replace the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to replace the TLS certificate. |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::SetAsync | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec | spec, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Replaces the rhttpproxy TLS certificate with the specified certificate.
This method can be used in three scenarios :
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
The above three scenarios are only supported from vsphere 7.0 onwards.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | If the private key is not present in the VECS store. |
vmware.vapi.std.errors.AlreadyExists | If the specified certificate thumbprint is the same as the existing TLS certificate thumbprint. |
vmware.vapi.std.errors.Error | If the system failed to replace the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to replace the TLS certificate. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::certificate_management::vcenter::Tls.
global::System.Threading.Tasks.Task vmware::vcenter::certificate_management::vcenter::TlsStub::SetAsync | ( | vmware.vcenter.certificate_management.vcenter.TlsTypes.Spec | spec | ) | [inline] |
Replaces the rhttpproxy TLS certificate with the specified certificate.
This method can be used in three scenarios :
After this method completes, the services using the certificate will be restarted for the new certificate to take effect.
The above three scenarios are only supported from vsphere 7.0 onwards.. This method was added in vSphere API 6.7.2.
vmware.vapi.std.errors.NotFound | If the private key is not present in the VECS store. |
vmware.vapi.std.errors.AlreadyExists | If the specified certificate thumbprint is the same as the existing TLS certificate thumbprint. |
vmware.vapi.std.errors.Error | If the system failed to replace the TLS certificate. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
spec | The information needed to replace the TLS certificate. |
Implements vmware::vcenter::certificate_management::vcenter::Tls.