ClusterAssociationsOperations interface
Interface representing a ClusterAssociations operations.
Properties
| create |
Create a ClusterAssociation |
| delete | Deletes the association. Idempotent: returns For an association enrolling an ACI SandboxGroup (
|
| get | Get a ClusterAssociation |
| list |
List ClusterAssociation resources by AgentFabric |
| update | Update a ClusterAssociation |
Property Details
createOrUpdate
Create a ClusterAssociation
createOrUpdate: (resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, resource: ClusterAssociation, options?: ClusterAssociationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ClusterAssociation>, ClusterAssociation>
Property Value
(resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, resource: ClusterAssociation, options?: ClusterAssociationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ClusterAssociation>, ClusterAssociation>
delete
Deletes the association. Idempotent: returns 202 Accepted when completion is
asynchronous, and 204 No Content when it completes synchronously or the
association is already absent.
For an association enrolling an ACI SandboxGroup (clusterResourceId of type
Microsoft.ContainerInstance/sandboxGroups), the service returns
409 ClusterAssociationNotEmpty while any Member still references the
SandboxGroup. All such Members must be deleted before the association can be
removed.
{
"error": {
"code": "ClusterAssociationNotEmpty",
"message": "The ClusterAssociation cannot be deleted because one or more members still reference it.",
"target": "properties.clusterResourceId"
}
}
delete: (resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, options?: ClusterAssociationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, options?: ClusterAssociationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Get a ClusterAssociation
get: (resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, options?: ClusterAssociationsGetOptionalParams) => Promise<ClusterAssociation>
Property Value
(resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, options?: ClusterAssociationsGetOptionalParams) => Promise<ClusterAssociation>
listByParent
List ClusterAssociation resources by AgentFabric
listByParent: (resourceGroupName: string, agentFabricName: string, options?: ClusterAssociationsListByParentOptionalParams) => PagedAsyncIterableIterator<ClusterAssociation, ClusterAssociation[], PageSettings>
Property Value
(resourceGroupName: string, agentFabricName: string, options?: ClusterAssociationsListByParentOptionalParams) => PagedAsyncIterableIterator<ClusterAssociation, ClusterAssociation[], PageSettings>
update
Update a ClusterAssociation
update: (resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, properties: ClusterAssociationUpdate, options?: ClusterAssociationsUpdateOptionalParams) => PollerLike<OperationState<ClusterAssociation>, ClusterAssociation>
Property Value
(resourceGroupName: string, agentFabricName: string, clusterAssociationName: string, properties: ClusterAssociationUpdate, options?: ClusterAssociationsUpdateOptionalParams) => PollerLike<OperationState<ClusterAssociation>, ClusterAssociation>