CmdID / az / az sf / az sf managed-service / az sf managed-service correlation-scheme
az sf managed-service correlation-scheme create
Create a new managed service correlation scheme on an Azure Service Fabric managed cluster. Azure CLI reference
NOTE You can only have one service correlation per service.
1 example 2 options Its page in the Azure CLI reference
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 AlignedAffinityIdentify-gSpecify the resource group name.-cSpecify the name of the cluster, if not given it will be same as resource group name--application-nameSpecify the name of the service.--service-nameSpecify the name of the service.--correlated-service-nameSpecify the Arm Resource ID of the service that the correlation relationship is established with.--schemeSpecify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.Options
--correlated-service-name, --correlated-nameSpecify the Arm Resource ID of the service that the correlation relationship is established with.--schemeSpecify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.