VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::content::registries::HarborStub Class Reference

Remote stub implementation of the Harbor API service. More...

Inherits vmware::vcenter::content::registries::Harbor.

List of all members.

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.

Detailed Description

Remote stub implementation of the Harbor API service.


Constructor & Destructor Documentation

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]

Member Function Documentation

string vmware::vcenter::content::registries::HarborStub::Create ( string  clientToken,
vmware.vcenter.content.registries.HarborTypes.CreateSpec  spec 
) [inline]

Creates a Harbor registry in the cluster.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a Harbor already exists in the associated cluster.
vmware.vapi.std.errors.NotFoundif resources/objects could not be located.
vmware.vapi.std.errors.Unsupportedif Harbor.CreateSpec.cluster does not have vSphere namespace enabled.
vmware.vapi.std.errors.InvalidArgumentif spec contains any errors.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster .
Parameters:
clientTokenA 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.
specSpecification for creating the Harbor registry.
Returns:
Identifier of the deployed registry. The result will be an identifier for the resource type: 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.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a Harbor already exists in the associated cluster.
vmware.vapi.std.errors.NotFoundif resources/objects could not be located.
vmware.vapi.std.errors.Unsupportedif Harbor.CreateSpec.cluster does not have vSphere namespace enabled.
vmware.vapi.std.errors.InvalidArgumentif spec contains any errors.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster .
Parameters:
clientTokenA 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.
specSpecification for creating the Harbor registry.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Identifier of the deployed registry. The result will be an identifier for the resource type: 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.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a Harbor already exists in the associated cluster.
vmware.vapi.std.errors.NotFoundif resources/objects could not be located.
vmware.vapi.std.errors.Unsupportedif Harbor.CreateSpec.cluster does not have vSphere namespace enabled.
vmware.vapi.std.errors.InvalidArgumentif spec contains any errors.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster .
Parameters:
clientTokenA 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.
specSpecification for creating the Harbor registry.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Identifier of the deployed registry. The result will be an identifier for the resource type: 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.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a Harbor already exists in the associated cluster.
vmware.vapi.std.errors.NotFoundif resources/objects could not be located.
vmware.vapi.std.errors.Unsupportedif Harbor.CreateSpec.cluster does not have vSphere namespace enabled.
vmware.vapi.std.errors.InvalidArgumentif spec contains any errors.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry and/or CertificateAuthority.Manage privilege, or user does not have ContentLibrary.ManageClusterRegistryResource privilege on Harbor.CreateSpec.cluster .
Parameters:
clientTokenA 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.
specSpecification for creating the Harbor registry.
Returns:
Identifier of the deployed registry. The result will 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) [inline]

Delete the Harbor registry in the cluster.

All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.

Exceptions:
vmware.vapi.std.errors.NotFoundif a registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry privilege.
Parameters:
registryIdentifier 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have ContentLibrary.ManageRegistry privilege.
Parameters:
registryIdentifier 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a Harbor registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
Returns:
Information about the 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a Harbor registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the 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) [inline]

Get detailed information of the Harbor registry.

Exceptions:
vmware.vapi.std.errors.NotFoundif a Harbor registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
Returns:
Information about the 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.

Exceptions:
vmware.vapi.std.errors.NotFoundif a Harbor registry specified by registry could not be found.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
registryIdentifier of the registry. The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the registry.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of basic information of all Harbor registries.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of basic information of all Harbor registries.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of basic information of all Harbor registries.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of basic information of all Harbor registries.

Implements vmware::vcenter::content::registries::Harbor.


The documentation for this class was generated from the following file: