|
VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Harbor interface provides methods to manage the lifecycle of an integrated Harbor container registry in vCenter.
More...
Inherited by vmware::vcenter::content::registries::HarborStub.
Public Member Functions | |
| string | Create (string clientToken, vmware.vcenter.content.registries.HarborTypes.CreateSpec spec) |
| Creates a Harbor registry in the cluster. | |
| string | Create (string clientToken, vmware.vcenter.content.registries.HarborTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Creates a Harbor registry in the cluster. | |
| global::System.Threading.Tasks.Task < string > | CreateAsync (string clientToken, vmware.vcenter.content.registries.HarborTypes.CreateSpec spec) |
| Creates a Harbor registry in the cluster. | |
| global::System.Threading.Tasks.Task < string > | CreateAsync (string clientToken, vmware.vcenter.content.registries.HarborTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Creates a Harbor registry in the cluster. | |
| void | Delete (string registry) |
| Delete the Harbor registry in the cluster. | |
| void | Delete (string registry, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Delete the Harbor registry in the cluster. | |
| global::System.Threading.Tasks.Task | DeleteAsync (string registry) |
| Delete the Harbor registry in the cluster. | |
| global::System.Threading.Tasks.Task | DeleteAsync (string registry, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Delete the Harbor registry in the cluster. | |
| vmware.vcenter.content.registries.HarborTypes.Info | Get (string registry) |
| Get detailed information of the Harbor registry. | |
| vmware.vcenter.content.registries.HarborTypes.Info | Get (string registry, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Get detailed information of the Harbor registry. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.content.registries.HarborTypes.Info > | GetAsync (string registry) |
| Get detailed information of the Harbor registry. | |
| global::System.Threading.Tasks.Task < vmware.vcenter.content.registries.HarborTypes.Info > | GetAsync (string registry, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Get detailed information of the Harbor registry. | |
| global::System.Collections.Generic.List < vmware.vcenter.content.registries.HarborTypes.Summary > | List () |
| Returns basic information of all Harbor registries. | |
| global::System.Collections.Generic.List < vmware.vcenter.content.registries.HarborTypes.Summary > | List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns basic information of all Harbor registries. | |
| global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.content.registries.HarborTypes.Summary > > | ListAsync () |
| Returns basic information of all Harbor registries. | |
| global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.content.registries.HarborTypes.Summary > > | ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
| Returns basic information of all Harbor registries. | |
The Harbor interface provides methods to manage the lifecycle of an integrated Harbor container registry in vCenter.
| string vmware::vcenter::content::registries::Harbor::Create | ( | string | clientToken, |
| vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec | ||
| ) |
Creates a Harbor registry in the cluster.
| vmware.vapi.std.errors.AlreadyExists | if a Harbor already exists in the associated cluster. |
| vmware.vapi.std.errors.NotFound | if resources/objects could not be located. |
| vmware.vapi.std.errors.Unsupported | if Harbor.CreateSpec.cluster does not have vSphere namespace enabled. |
| vmware.vapi.std.errors.InvalidArgument | if spec contains any errors. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster . |
| clientToken | A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751 . This token can be used to guarantee idempotent creation. If not specified, creation is not idempotent. |
| spec | Specification for creating the Harbor registry. |
com.vmware.vcenter.content.Registry . Implemented in vmware::vcenter::content::registries::HarborStub.
| string vmware::vcenter::content::registries::Harbor::Create | ( | string | clientToken, |
| vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Creates a Harbor registry in the cluster.
| vmware.vapi.std.errors.AlreadyExists | if a Harbor already exists in the associated cluster. |
| vmware.vapi.std.errors.NotFound | if resources/objects could not be located. |
| vmware.vapi.std.errors.Unsupported | if Harbor.CreateSpec.cluster does not have vSphere namespace enabled. |
| vmware.vapi.std.errors.InvalidArgument | if spec contains any errors. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster . |
| clientToken | A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751 . This token can be used to guarantee idempotent creation. If not specified, creation is not idempotent. |
| spec | Specification for creating the Harbor registry. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.content.Registry . Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::content::registries::Harbor::CreateAsync | ( | string | clientToken, |
| vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec, | ||
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Creates a Harbor registry in the cluster.
| vmware.vapi.std.errors.AlreadyExists | if a Harbor already exists in the associated cluster. |
| vmware.vapi.std.errors.NotFound | if resources/objects could not be located. |
| vmware.vapi.std.errors.Unsupported | if Harbor.CreateSpec.cluster does not have vSphere namespace enabled. |
| vmware.vapi.std.errors.InvalidArgument | if spec contains any errors. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster . |
| clientToken | A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751 . This token can be used to guarantee idempotent creation. If not specified, creation is not idempotent. |
| spec | Specification for creating the Harbor registry. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.content.Registry . Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<string> vmware::vcenter::content::registries::Harbor::CreateAsync | ( | string | clientToken, |
| vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec | ||
| ) |
Creates a Harbor registry in the cluster.
| vmware.vapi.std.errors.AlreadyExists | if a Harbor already exists in the associated cluster. |
| vmware.vapi.std.errors.NotFound | if resources/objects could not be located. |
| vmware.vapi.std.errors.Unsupported | if Harbor.CreateSpec.cluster does not have vSphere namespace enabled. |
| vmware.vapi.std.errors.InvalidArgument | if spec contains any errors. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster . |
| clientToken | A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: b8a2a2e3-2314-43cd-a871-6ede0f429751 . This token can be used to guarantee idempotent creation. If not specified, creation is not idempotent. |
| spec | Specification for creating the Harbor registry. |
com.vmware.vcenter.content.Registry . Implemented in vmware::vcenter::content::registries::HarborStub.
| void vmware::vcenter::content::registries::Harbor::Delete | ( | string | registry | ) |
Delete the Harbor registry in the cluster.
All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.
| vmware.vapi.std.errors.NotFound | if a registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
Implemented in vmware::vcenter::content::registries::HarborStub.
| void vmware::vcenter::content::registries::Harbor::Delete | ( | string | registry, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Delete the Harbor registry in the cluster.
All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.
| vmware.vapi.std.errors.NotFound | if a registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task vmware::vcenter::content::registries::Harbor::DeleteAsync | ( | string | registry, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Delete the Harbor registry in the cluster.
All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.
| vmware.vapi.std.errors.NotFound | if a registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task vmware::vcenter::content::registries::Harbor::DeleteAsync | ( | string | registry | ) |
Delete the Harbor registry in the cluster.
All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.
| vmware.vapi.std.errors.NotFound | if a registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have ContentLibrary.ManageRegistry privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
Implemented in vmware::vcenter::content::registries::HarborStub.
| vmware.vcenter.content.registries.HarborTypes.Info vmware::vcenter::content::registries::Harbor::Get | ( | string | registry | ) |
Get detailed information of the Harbor registry.
| vmware.vapi.std.errors.NotFound | if a Harbor registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
Implemented in vmware::vcenter::content::registries::HarborStub.
| vmware.vcenter.content.registries.HarborTypes.Info vmware::vcenter::content::registries::Harbor::Get | ( | string | registry, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Get detailed information of the Harbor registry.
| vmware.vapi.std.errors.NotFound | if a Harbor registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.content.registries.HarborTypes.Info> vmware::vcenter::content::registries::Harbor::GetAsync | ( | string | registry | ) |
Get detailed information of the Harbor registry.
| vmware.vapi.std.errors.NotFound | if a Harbor registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<vmware.vcenter.content.registries.HarborTypes.Info> vmware::vcenter::content::registries::Harbor::GetAsync | ( | string | registry, |
| global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Get detailed information of the Harbor registry.
| vmware.vapi.std.errors.NotFound | if a Harbor registry specified by registry could not be found. |
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
| registry | Identifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> vmware::vcenter::content::registries::Harbor::List | ( | ) |
Returns basic information of all Harbor registries.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> vmware::vcenter::content::registries::Harbor::List | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns basic information of all Harbor registries.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> > vmware::vcenter::content::registries::Harbor::ListAsync | ( | ) |
Returns basic information of all Harbor registries.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
Implemented in vmware::vcenter::content::registries::HarborStub.
| global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> > vmware::vcenter::content::registries::Harbor::ListAsync | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
| vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
| ) |
Returns basic information of all Harbor registries.
| vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
| vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
| vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
Implemented in vmware::vcenter::content::registries::HarborStub.