az sf managed-service correlation-scheme
Manage correlation schemes of services running on an Azure Service Fabric managed cluster. Only support ARM deployed services.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sf managed-service correlation-scheme create |
Create a new managed service correlation scheme on an Azure Service Fabric managed cluster. |
Core | GA |
az sf managed-service correlation-scheme delete |
Delete a managed service correlation scheme. |
Core | GA |
az sf managed-service correlation-scheme update |
Update a managed service correlation scheme. |
Core | GA |
az sf managed-service correlation-scheme create
Create a new managed service correlation scheme on an Azure Service Fabric managed cluster.
Create a new managed service correlation scheme on an Azure Service Fabric managed cluster. NOTE You can only have one service correlation per service.
az sf managed-service correlation-scheme create --application
--cluster-name
--correlated-name
--name
--resource-group
--scheme
Examples
Create a new managed service correlation scheme.
az sf managed-service correlation-scheme create -g testRG -c testCluster --application-name testApp --service-name testService \
--correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2" \
--scheme AlignedAffinity
Required Parameters
Specify the name of the service.
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the Arm Resource ID of the service that the correlation relationship is established with.
Specify the name of the service.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Specify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-service correlation-scheme delete
Delete a managed service correlation scheme.
az sf managed-service correlation-scheme delete --application
--cluster-name
--correlated-name
--name
--resource-group
Examples
Delete managed service correlation scheme.
az sf managed-service correlation-scheme delete -g testRG -c testCluster --application-name testApp --service-name testService \
--correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2"
Required Parameters
Specify the name of the service.
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the Arm Resource ID of the service that the correlation relationship is established with.
Specify the name of the service.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-service correlation-scheme update
Update a managed service correlation scheme.
az sf managed-service correlation-scheme update --application
--cluster-name
--correlated-name
--name
--resource-group
--scheme
Examples
Update managed service correlation scheme.
az sf managed-service correlation-scheme update -g testRG -c testCluster --application-name testApp --service-name testService \
--correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2" \
--scheme NonAlignedAffinity
Required Parameters
Specify the name of the service.
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the Arm Resource ID of the service that the correlation relationship is established with.
Specify the name of the service.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Specify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI