VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Harbor API service. More...
Inherits vmware::vcenter::content::registries::Harbor.
Public Member Functions | |
HarborStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config) | |
HarborStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
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. |
Remote stub implementation of the Harbor API service.
vmware::vcenter::content::registries::HarborStub::HarborStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::content::registries::HarborStub::HarborStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
string vmware::vcenter::content::registries::HarborStub::Create | ( | string | clientToken, |
vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec | ||
) | [inline] |
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
. Implements vmware::vcenter::content::registries::Harbor.
string vmware::vcenter::content::registries::HarborStub::Create | ( | string | clientToken, |
vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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
. Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<string> vmware::vcenter::content::registries::HarborStub::CreateAsync | ( | string | clientToken, |
vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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
. Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<string> vmware::vcenter::content::registries::HarborStub::CreateAsync | ( | string | clientToken, |
vmware.vcenter.content.registries.HarborTypes.CreateSpec | spec | ||
) | [inline] |
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
. Implements vmware::vcenter::content::registries::Harbor.
void vmware::vcenter::content::registries::HarborStub::Delete | ( | string | registry | ) | [inline] |
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 . |
Implements vmware::vcenter::content::registries::Harbor.
void vmware::vcenter::content::registries::HarborStub::Delete | ( | string | registry, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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 |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task vmware::vcenter::content::registries::HarborStub::DeleteAsync | ( | string | registry, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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 |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task vmware::vcenter::content::registries::HarborStub::DeleteAsync | ( | string | registry | ) | [inline] |
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 . |
Implements vmware::vcenter::content::registries::Harbor.
vmware.vcenter.content.registries.HarborTypes.Info vmware::vcenter::content::registries::HarborStub::Get | ( | string | registry | ) | [inline] |
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 . |
Implements vmware::vcenter::content::registries::Harbor.
vmware.vcenter.content.registries.HarborTypes.Info vmware::vcenter::content::registries::HarborStub::Get | ( | string | registry, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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 |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<vmware.vcenter.content.registries.HarborTypes.Info> vmware::vcenter::content::registries::HarborStub::GetAsync | ( | string | registry | ) | [inline] |
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 . |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<vmware.vcenter.content.registries.HarborTypes.Info> vmware::vcenter::content::registries::HarborStub::GetAsync | ( | string | registry, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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 |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> vmware::vcenter::content::registries::HarborStub::List | ( | ) | [inline] |
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. |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> vmware::vcenter::content::registries::HarborStub::List | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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. |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> > vmware::vcenter::content::registries::HarborStub::ListAsync | ( | ) | [inline] |
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. |
Implements vmware::vcenter::content::registries::Harbor.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.content.registries.HarborTypes.Summary> > vmware::vcenter::content::registries::HarborStub::ListAsync | ( | global::System.Action< vmware.vapi.std.Progress > | _progress, |
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
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. |
Implements vmware::vcenter::content::registries::Harbor.