PlacementPolicies interface
Interface representing a PlacementPolicies.
Methods
begin |
Create a PlacementPolicy |
begin |
Create a PlacementPolicy |
begin |
Delete a PlacementPolicy |
begin |
Delete a PlacementPolicy |
begin |
Update a PlacementPolicy |
begin |
Update a PlacementPolicy |
get(string, string, string, string, Placement |
Get a PlacementPolicy |
list(string, string, string, Placement |
List PlacementPolicy resources by Cluster |
Method Details
beginCreateOrUpdate(string, string, string, string, PlacementPolicy, PlacementPoliciesCreateOrUpdateOptionalParams)
Create a PlacementPolicy
function beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, placementPolicy: PlacementPolicy, options?: PlacementPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PlacementPolicy>, PlacementPolicy>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
- placementPolicy
- PlacementPolicy
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PlacementPolicy>, PlacementPolicy>>
beginCreateOrUpdateAndWait(string, string, string, string, PlacementPolicy, PlacementPoliciesCreateOrUpdateOptionalParams)
Create a PlacementPolicy
function beginCreateOrUpdateAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, placementPolicy: PlacementPolicy, options?: PlacementPoliciesCreateOrUpdateOptionalParams): Promise<PlacementPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
- placementPolicy
- PlacementPolicy
Resource create parameters.
The options parameters.
Returns
Promise<PlacementPolicy>
beginDelete(string, string, string, string, PlacementPoliciesDeleteOptionalParams)
Delete a PlacementPolicy
function beginDelete(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, options?: PlacementPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, PlacementPoliciesDeleteOptionalParams)
Delete a PlacementPolicy
function beginDeleteAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, options?: PlacementPoliciesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, string, PlacementPolicyUpdate, PlacementPoliciesUpdateOptionalParams)
Update a PlacementPolicy
function beginUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, placementPolicyUpdate: PlacementPolicyUpdate, options?: PlacementPoliciesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PlacementPolicy>, PlacementPolicy>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
- placementPolicyUpdate
- PlacementPolicyUpdate
The placement policy properties to be updated.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PlacementPolicy>, PlacementPolicy>>
beginUpdateAndWait(string, string, string, string, PlacementPolicyUpdate, PlacementPoliciesUpdateOptionalParams)
Update a PlacementPolicy
function beginUpdateAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, placementPolicyUpdate: PlacementPolicyUpdate, options?: PlacementPoliciesUpdateOptionalParams): Promise<PlacementPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
- placementPolicyUpdate
- PlacementPolicyUpdate
The placement policy properties to be updated.
The options parameters.
Returns
Promise<PlacementPolicy>
get(string, string, string, string, PlacementPoliciesGetOptionalParams)
Get a PlacementPolicy
function get(resourceGroupName: string, privateCloudName: string, clusterName: string, placementPolicyName: string, options?: PlacementPoliciesGetOptionalParams): Promise<PlacementPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
- placementPolicyName
-
string
Name of the placement policy.
The options parameters.
Returns
Promise<PlacementPolicy>
list(string, string, string, PlacementPoliciesListOptionalParams)
List PlacementPolicy resources by Cluster
function list(resourceGroupName: string, privateCloudName: string, clusterName: string, options?: PlacementPoliciesListOptionalParams): PagedAsyncIterableIterator<PlacementPolicy, PlacementPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
- clusterName
-
string
Name of the cluster
The options parameters.