ManagedClustersOperations interface
表示 ManagedClusters作的接口。
属性
| create |
使用指定名称创建或更新 Service Fabric 托管群集资源。 |
| delete | |
| get | 获取在指定资源组中创建或正在创建的 Service Fabric 托管群集资源。 |
| get |
按 simulationId 获取故障模拟。 |
| list |
获取在资源组中创建或正在创建的所有 Service Fabric 群集资源。 |
| list |
获取在订阅中创建或正在创建的所有 Service Fabric 群集资源。 |
| list |
获取集群的最近故障模拟列表。 |
| start |
在集群上启动故障模拟。 |
| stop |
停止集群上的故障模拟。 |
| update | 使用指定名称更新 Service Fabric 托管群集资源的标记。 |
属性详细信息
createOrUpdate
使用指定名称创建或更新 Service Fabric 托管群集资源。
createOrUpdate: (resourceGroupName: string, clusterName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams) => PollerLike<OperationState<ManagedCluster>, ManagedCluster>
属性值
(resourceGroupName: string, clusterName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams) => PollerLike<OperationState<ManagedCluster>, ManagedCluster>
delete
delete: (resourceGroupName: string, clusterName: string, options?: ManagedClustersDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, clusterName: string, options?: ManagedClustersDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取在指定资源组中创建或正在创建的 Service Fabric 托管群集资源。
get: (resourceGroupName: string, clusterName: string, options?: ManagedClustersGetOptionalParams) => Promise<ManagedCluster>
属性值
(resourceGroupName: string, clusterName: string, options?: ManagedClustersGetOptionalParams) => Promise<ManagedCluster>
getFaultSimulation
按 simulationId 获取故障模拟。
getFaultSimulation: (resourceGroupName: string, clusterName: string, parameters: FaultSimulationIdContent, options?: ManagedClustersGetFaultSimulationOptionalParams) => Promise<FaultSimulation>
属性值
(resourceGroupName: string, clusterName: string, parameters: FaultSimulationIdContent, options?: ManagedClustersGetFaultSimulationOptionalParams) => Promise<FaultSimulation>
listByResourceGroup
获取在资源组中创建或正在创建的所有 Service Fabric 群集资源。
listByResourceGroup: (resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<ManagedCluster, ManagedCluster[], PageSettings>
属性值
(resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<ManagedCluster, ManagedCluster[], PageSettings>
listBySubscription
获取在订阅中创建或正在创建的所有 Service Fabric 群集资源。
listBySubscription: (options?: ManagedClustersListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<ManagedCluster, ManagedCluster[], PageSettings>
属性值
(options?: ManagedClustersListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<ManagedCluster, ManagedCluster[], PageSettings>
listFaultSimulation
获取集群的最近故障模拟列表。
listFaultSimulation: (resourceGroupName: string, clusterName: string, options?: ManagedClustersListFaultSimulationOptionalParams) => PagedAsyncIterableIterator<FaultSimulation, FaultSimulation[], PageSettings>
属性值
(resourceGroupName: string, clusterName: string, options?: ManagedClustersListFaultSimulationOptionalParams) => PagedAsyncIterableIterator<FaultSimulation, FaultSimulation[], PageSettings>
startFaultSimulation
在集群上启动故障模拟。
startFaultSimulation: (resourceGroupName: string, clusterName: string, parameters: FaultSimulationContentWrapper, options?: ManagedClustersStartFaultSimulationOptionalParams) => PollerLike<OperationState<FaultSimulation>, FaultSimulation>
属性值
(resourceGroupName: string, clusterName: string, parameters: FaultSimulationContentWrapper, options?: ManagedClustersStartFaultSimulationOptionalParams) => PollerLike<OperationState<FaultSimulation>, FaultSimulation>
stopFaultSimulation
停止集群上的故障模拟。
stopFaultSimulation: (resourceGroupName: string, clusterName: string, parameters: FaultSimulationIdContent, options?: ManagedClustersStopFaultSimulationOptionalParams) => PollerLike<OperationState<FaultSimulation>, FaultSimulation>
属性值
(resourceGroupName: string, clusterName: string, parameters: FaultSimulationIdContent, options?: ManagedClustersStopFaultSimulationOptionalParams) => PollerLike<OperationState<FaultSimulation>, FaultSimulation>
update
使用指定名称更新 Service Fabric 托管群集资源的标记。
update: (resourceGroupName: string, clusterName: string, parameters: ManagedClusterUpdateParameters, options?: ManagedClustersUpdateOptionalParams) => Promise<ManagedCluster>
属性值
(resourceGroupName: string, clusterName: string, parameters: ManagedClusterUpdateParameters, options?: ManagedClustersUpdateOptionalParams) => Promise<ManagedCluster>