openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 72.8 kB
JSON
{"openapi":"3.0.0","info":{"description":"Azure Service Fabric Resource Provider API Client","title":"ServiceFabricManagementClient","version":"2019-03-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/application.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"servicefabric-application","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.ServiceFabric/operations":{"get":{"description":"Get the list of available Service Fabric resource provider API operations.","operationId":"Operations_List","parameters":[{"description":"The version of the Service Fabric resource provider API","in":"query","name":"api-version","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Lists all of the available Service Fabric resource provider API operations.","tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes":{"get":{"description":"Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.","operationId":"ApplicationTypes_List","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeResourceList"},"examples":{"Get a list of application type name resources":{"$ref":"#/components/examples/Get_a_list_of_application_type_name_resources"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the list of application type name resources created in the specified Service Fabric cluster resource.","tags":["ApplicationType"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}":{"delete":{"description":"Delete a Service Fabric application type name resource with the specified name.","operationId":"ApplicationTypes_Delete","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously."},"204":{"description":"The resource was not found."},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Deletes a Service Fabric application type name resource.","tags":["ApplicationType"],"x-ms-long-running-operation":true},"get":{"description":"Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.","operationId":"ApplicationTypes_Get","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeResource"},"examples":{"Get an application type":{"$ref":"#/components/examples/Get_an_application_type"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets a Service Fabric application type name resource.","tags":["ApplicationType"]},"put":{"description":"Create or update a Service Fabric application type name resource with the specified name.","operationId":"ApplicationTypes_Create","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeResource"}}},"description":"The application type name resource.","required":true,"x-ms-parameter-location":"method"},"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeResource"},"examples":{"Put an application type":{"$ref":"#/components/examples/Put_an_application_type"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Creates or updates a Service Fabric application type name resource.","tags":["ApplicationType"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions":{"get":{"description":"Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource.","operationId":"ApplicationTypeVersions_List","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeVersionResourceList"},"examples":{"Get a list of application type version resources":{"$ref":"#/components/examples/Get_a_list_of_application_type_version_resources"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the list of application type version resources created in the specified Service Fabric application type name resource.","tags":["ApplicationTypeVersion"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}":{"delete":{"description":"Delete a Service Fabric application type version resource with the specified name.","operationId":"ApplicationTypeVersions_Delete","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/version"},{"$ref":"#/components/parameters/api-version"}],"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously."},"204":{"description":"The resource was not found."},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Deletes a Service Fabric application type version resource.","tags":["ApplicationTypeVersion"],"x-ms-long-running-operation":true},"get":{"description":"Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource.","operationId":"ApplicationTypeVersions_Get","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/version"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeVersionResource"},"examples":{"Get an application type version":{"$ref":"#/components/examples/Get_an_application_type_version"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets a Service Fabric application type version resource.","tags":["ApplicationTypeVersion"]},"put":{"description":"Create or update a Service Fabric application type version resource with the specified name.","operationId":"ApplicationTypeVersions_Create","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationTypeName"},{"$ref":"#/components/parameters/version"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeVersionResource"}}},"description":"The application type version resource.","required":true,"x-ms-parameter-location":"method"},"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTypeVersionResource"},"examples":{"Put an application type version":{"$ref":"#/components/examples/Put_an_application_type_version"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Creates or updates a Service Fabric application type version resource.","tags":["ApplicationTypeVersion"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications":{"get":{"description":"Gets all application resources created or in the process of being created in the Service Fabric cluster resource.","operationId":"Applications_List","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResourceList"},"examples":{"Get a list of application resources":{"$ref":"#/components/examples/Get_a_list_of_application_resources"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the list of application resources created in the specified Service Fabric cluster resource.","tags":["Application"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}":{"delete":{"description":"Delete a Service Fabric application resource with the specified name.","operationId":"Applications_Delete","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously."},"204":{"description":"The resource was not found."},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Deletes a Service Fabric application resource.","tags":["Application"],"x-ms-long-running-operation":true},"get":{"description":"Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.","operationId":"Applications_Get","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResource"},"examples":{"Get an application":{"$ref":"#/components/examples/Get_an_application"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets a Service Fabric application resource.","tags":["Application"]},"patch":{"description":"Update a Service Fabric application resource with the specified name.","operationId":"Applications_Update","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResourceUpdate"}}},"description":"The application resource for patch operations.","required":true,"x-ms-parameter-location":"method"},"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResource"},"examples":{"Patch an application":{"$ref":"#/components/examples/Patch_an_application"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Updates a Service Fabric application resource.","tags":["Application"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a Service Fabric application resource with the specified name.","operationId":"Applications_Create","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResource"}}},"description":"The application resource.","required":true,"x-ms-parameter-location":"method"},"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResource"},"examples":{"Put an application with maximum parameters":{"$ref":"#/components/examples/Put_an_application_with_maximum_parameters"},"Put an application with minimum parameters":{"$ref":"#/components/examples/Put_an_application_with_minimum_parameters"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Creates or updates a Service Fabric application resource.","tags":["Application"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services":{"get":{"description":"Gets all service resources created or in the process of being created in the Service Fabric application resource.","operationId":"Services_List","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResourceList"},"examples":{"Get a list of service resources":{"$ref":"#/components/examples/Get_a_list_of_service_resources"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the list of service resources created in the specified Service Fabric application resource.","tags":["Service"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}":{"delete":{"description":"Delete a Service Fabric service resource with the specified name.","operationId":"Services_Delete","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/serviceName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously."},"204":{"description":"The resource was not found."},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Deletes a Service Fabric service resource.","tags":["Service"],"x-ms-long-running-operation":true},"get":{"description":"Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.","operationId":"Services_Get","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/serviceName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"The operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Get a service":{"$ref":"#/components/examples/Get_a_service"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets a Service Fabric service resource.","tags":["Service"]},"patch":{"description":"Update a Service Fabric service resource with the specified name.","operationId":"Services_Update","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/serviceName"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResourceUpdate"}}},"description":"The service resource for patch operations.","required":true,"x-ms-parameter-location":"method"},"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Patch a service":{"$ref":"#/components/examples/Patch_a_service"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Updates a Service Fabric service resource.","tags":["Service"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a Service Fabric service resource with the specified name.","operationId":"Services_Create","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"$ref":"#/components/parameters/clusterNameParameter"},{"$ref":"#/components/parameters/applicationName"},{"$ref":"#/components/parameters/serviceName"},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"}}},"description":"The service resource.","required":true,"x-ms-parameter-location":"method"},"responses":{"202":{"description":"The request was accepted and the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Put a service with maximum parameters":{"$ref":"#/components/examples/Put_a_service_with_maximum_parameters"},"Put a service with minimum parameters":{"$ref":"#/components/examples/Put_a_service_with_minimum_parameters"}}}}},"default":{"description":"The detailed error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Creates or updates a Service Fabric service resource.","tags":["Service"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Get_a_list_of_application_type_name_resources":{"value":{"nextLink":"","value":[{"etag":"W/\"636462502174844831\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType","location":"eastus","name":"myCluster","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"applicationTypes"}]}},"Get_an_application_type":{"value":{"etag":"W/\"636462502174844831\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType","location":"eastus","name":"myCluster","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"applicationTypes"}},"Put_an_application_type":{"value":{"etag":"W/\"636462502174844831\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType","location":"eastus","name":"myCluster","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"applicationTypes"}},"Get_a_list_of_application_type_version_resources":{"value":{"nextLink":"","value":[{"etag":"W/\"636462502176040417\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0","location":"eastus","name":"myCluster","properties":{"appPackageUrl":"http://fakelink.test.com/MyAppType","defaultParameterList":{},"provisioningState":"Updating"},"tags":{},"type":"versions"}]}},"Get_an_application_type_version":{"value":{"etag":"W/\"636462502176040417\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0","location":"eastus","name":"myCluster","properties":{"appPackageUrl":"http://fakelink.test.com/MyAppType","defaultParameterList":{},"provisioningState":"Updating"},"tags":{},"type":"versions"}},"Put_an_application_type_version":{"value":{"etag":"W/\"636462502176040417\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType/versions/1.0","location":"eastus","name":"myCluster","properties":{"appPackageUrl":"http://fakelink.test.com/MyAppType","defaultParameterList":{},"provisioningState":"Updating"},"tags":{},"type":"versions"}},"Get_a_list_of_application_resources":{"value":{"nextLink":"","value":[{"etag":"W/\"636462502180261858\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp","location":"eastus","name":"myCluster","properties":{"metrics":[{"maximumCapacity":3,"name":"metric1","reservationCapacity":1,"totalApplicationCapacity":5}],"provisioningState":"Updating","removeApplicationCapacity":false,"typeName":"myAppType","typeVersion":"1.0"},"tags":{},"type":"applications"}]}},"Get_an_application":{"value":{"etag":"W/\"636462502180261859\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp","location":"eastus","name":"myCluster","properties":{"maximumNodes":3,"metrics":[{"maximumCapacity":3,"name":"metric1","reservationCapacity":1,"totalApplicationCapacity":5}],"minimumNodes":1,"parameters":{"param1":"value1"},"provisioningState":"Updating","removeApplicationCapacity":false,"typeName":"myAppType","typeVersion":"1.0","upgradePolicy":{"applicationHealthPolicy":{"considerWarningAsError":true,"defaultServiceTypeHealthPolicy":{"maxPercentUnhealthyPartitionsPerService":0,"maxPercentUnhealthyReplicasPerPartition":0,"maxPercentUnhealthyServices":0},"maxPercentUnhealthyDeployedApplications":0},"forceRestart":false,"rollingUpgradeMonitoringPolicy":{"failureAction":"Rollback","healthCheckRetryTimeout":"00:10:00","healthCheckStableDuration":"00:05:00","healthCheckWaitDuration":"00:02:00","upgradeDomainTimeout":"1.06:00:00","upgradeTimeout":"01:00:00"},"upgradeReplicaSetCheckTimeout":"01:00:00"}},"tags":{},"type":"applications"}},"Patch_an_application":{"value":{"etag":"W/\"636462502180261858\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp","location":"eastus","name":"myCluster","properties":{"metrics":[{"maximumCapacity":3,"name":"metric1","reservationCapacity":1,"totalApplicationCapacity":5}],"provisioningState":"Updating","removeApplicationCapacity":false,"typeName":"myAppType","typeVersion":"1.0"},"tags":{},"type":"applications"}},"Put_an_application_with_maximum_parameters":{"value":{"etag":"W/\"636462502180261859\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp","location":"eastus","name":"myCluster","properties":{"maximumNodes":3,"metrics":[{"maximumCapacity":3,"name":"metric1","reservationCapacity":1,"totalApplicationCapacity":5}],"minimumNodes":1,"parameters":{"param1":"value1"},"provisioningState":"Updating","removeApplicationCapacity":false,"typeName":"myAppType","typeVersion":"1.0","upgradePolicy":{"applicationHealthPolicy":{"considerWarningAsError":true,"defaultServiceTypeHealthPolicy":{"maxPercentUnhealthyPartitionsPerService":0,"maxPercentUnhealthyReplicasPerPartition":0,"maxPercentUnhealthyServices":0},"maxPercentUnhealthyDeployedApplications":0},"forceRestart":false,"rollingUpgradeMonitoringPolicy":{"failureAction":"Rollback","healthCheckRetryTimeout":"00:10:00","healthCheckStableDuration":"00:05:00","healthCheckWaitDuration":"00:02:00","upgradeDomainTimeout":"1.06:00:00","upgradeTimeout":"01:00:00"},"upgradeReplicaSetCheckTimeout":"01:00:00"}},"tags":{},"type":"applications"}},"Put_an_application_with_minimum_parameters":{"value":{"etag":"W/\"636462502180261857\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp","location":"eastus","name":"myCluster","properties":{"provisioningState":"Updating","removeApplicationCapacity":false,"typeName":"myAppType","typeVersion":"1.0"},"tags":{},"type":"applications"}},"Get_a_list_of_service_resources":{"value":{"nextLink":"","value":[{"etag":"W/\"636462502183671257\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService","location":"eastus","name":"myCluster","properties":{"instanceCount":1,"partitionDescription":{"partitionScheme":"Singleton"},"provisioningState":"Updating","serviceKind":"Stateless","serviceLoadMetrics":[{"name":"metric1","weight":"Low"}],"servicePackageActivationMode":"SharedProcess","serviceTypeName":"myServiceType"},"tags":{},"type":"services"}]}},"Get_a_service":{"value":{"etag":"W/\"636462502183671258\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService","location":"eastus","name":"myCluster","properties":{"defaultMoveCost":"Medium","instanceCount":5,"partitionDescription":{"partitionScheme":"Singleton"},"placementConstraints":"NodeType==frontend","provisioningState":"Updating","serviceKind":"Stateless","serviceLoadMetrics":[{"name":"metric1","weight":"Low"}],"servicePackageActivationMode":"SharedProcess","servicePlacementPolicies":[],"serviceTypeName":"myServiceType"},"tags":{},"type":"services"}},"Patch_a_service":{"value":{"etag":"W/\"636462502183671257\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService","location":"eastus","name":"myCluster","properties":{"instanceCount":1,"partitionDescription":{"partitionScheme":"Singleton"},"provisioningState":"Updating","serviceKind":"Stateless","serviceLoadMetrics":[{"name":"metric1","weight":"Low"}],"servicePackageActivationMode":"SharedProcess","serviceTypeName":"myServiceType"},"tags":{},"type":"services"}},"Put_a_service_with_maximum_parameters":{"value":{"etag":"W/\"636462502183671258\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService","location":"eastus","name":"myCluster","properties":{"defaultMoveCost":"Medium","instanceCount":5,"partitionDescription":{"partitionScheme":"Singleton"},"placementConstraints":"NodeType==frontend","provisioningState":"Updating","serviceKind":"Stateless","serviceLoadMetrics":[{"name":"metric1","weight":"Low"}],"servicePackageActivationMode":"SharedProcess","servicePlacementPolicies":[],"serviceTypeName":"myServiceType"},"tags":{},"type":"services"}},"Put_a_service_with_minimum_parameters":{"value":{"etag":"W/\"636462502183671256\"","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applications/myApp/services/myService","location":"eastus","name":"myCluster","properties":{"instanceCount":1,"partitionDescription":{"partitionScheme":"Singleton"},"provisioningState":"Updating","serviceKind":"Stateless","serviceTypeName":"myServiceType"},"tags":{},"type":"services"}}},"parameters":{"api-version":{"description":"The version of the Service Fabric resource provider API. This is a required parameter and it's value must be \"2019-03-01-preview\" for this specification.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string","enum":["2019-03-01-preview"],"default":"2019-03-01-preview"},"examples":{"Get a list of application type name resources":{"value":"2019-03-01-preview"},"Delete an application type":{"value":"2019-03-01-preview"},"Get an application type":{"value":"2019-03-01-preview"},"Put an application type":{"value":"2019-03-01-preview"},"Get a list of application type version resources":{"value":"2019-03-01-preview"},"Delete an application type version":{"value":"2019-03-01-preview"},"Get an application type version":{"value":"2019-03-01-preview"},"Put an application type version":{"value":"2019-03-01-preview"},"Get a list of application resources":{"value":"2019-03-01-preview"},"Delete an application":{"value":"2019-03-01-preview"},"Get an application":{"value":"2019-03-01-preview"},"Patch an application":{"value":"2019-03-01-preview"},"Put an application with maximum parameters":{"value":"2019-03-01-preview"},"Put an application with minimum parameters":{"value":"2019-03-01-preview"},"Get a list of service resources":{"value":"2019-03-01-preview"},"Delete a service":{"value":"2019-03-01-preview"},"Get a service":{"value":"2019-03-01-preview"},"Patch a service":{"value":"2019-03-01-preview"},"Put a service with maximum parameters":{"value":"2019-03-01-preview"},"Put a service with minimum parameters":{"value":"2019-03-01-preview"}}},"applicationName":{"description":"The name of the application resource.","in":"path","name":"applicationName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Delete an application":{"value":"myApp"},"Get an application":{"value":"myApp"},"Patch an application":{"value":"myApp"},"Put an application with maximum parameters":{"value":"myApp"},"Put an application with minimum parameters":{"value":"myApp"},"Get a list of service resources":{"value":"myApp"},"Delete a service":{"value":"myApp"},"Get a service":{"value":"myApp"},"Patch a service":{"value":"myApp"},"Put a service with maximum parameters":{"value":"myApp"},"Put a service with minimum parameters":{"value":"myApp"}}},"applicationTypeName":{"description":"The name of the application type name resource.","in":"path","name":"applicationTypeName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Delete an application type":{"value":"myAppType"},"Get an application type":{"value":"myAppType"},"Put an application type":{"value":"myAppType"},"Get a list of application type version resources":{"value":"myAppType"},"Delete an application type version":{"value":"myAppType"},"Get an application type version":{"value":"myAppType"},"Put an application type version":{"value":"myAppType"}}},"clusterNameParameter":{"description":"The name of the cluster resource.","in":"path","name":"clusterName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a list of application type name resources":{"value":"myCluster"},"Delete an application type":{"value":"myCluster"},"Get an application type":{"value":"myCluster"},"Put an application type":{"value":"myCluster"},"Get a list of application type version resources":{"value":"myCluster"},"Delete an application type version":{"value":"myCluster"},"Get an application type version":{"value":"myCluster"},"Put an application type version":{"value":"myCluster"},"Get a list of application resources":{"value":"myCluster"},"Delete an application":{"value":"myCluster"},"Get an application":{"value":"myCluster"},"Patch an application":{"value":"myCluster"},"Put an application with maximum parameters":{"value":"myCluster"},"Put an application with minimum parameters":{"value":"myCluster"},"Get a list of service resources":{"value":"myCluster"},"Delete a service":{"value":"myCluster"},"Get a service":{"value":"myCluster"},"Patch a service":{"value":"myCluster"},"Put a service with maximum parameters":{"value":"myCluster"},"Put a service with minimum parameters":{"value":"myCluster"}}},"resourceGroupNameParameter":{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a list of application type name resources":{"value":"resRg"},"Delete an application type":{"value":"resRg"},"Get an application type":{"value":"resRg"},"Put an application type":{"value":"resRg"},"Get a list of application type version resources":{"value":"resRg"},"Delete an application type version":{"value":"resRg"},"Get an application type version":{"value":"resRg"},"Put an application type version":{"value":"resRg"},"Get a list of application resources":{"value":"resRg"},"Delete an application":{"value":"resRg"},"Get an application":{"value":"resRg"},"Patch an application":{"value":"resRg"},"Put an application with maximum parameters":{"value":"resRg"},"Put an application with minimum parameters":{"value":"resRg"},"Get a list of service resources":{"value":"resRg"},"Delete a service":{"value":"resRg"},"Get a service":{"value":"resRg"},"Patch a service":{"value":"resRg"},"Put a service with maximum parameters":{"value":"resRg"},"Put a service with minimum parameters":{"value":"resRg"}}},"serviceName":{"description":"The name of the service resource in the format of {applicationName}~{serviceName}.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Delete a service":{"value":"myService"},"Get a service":{"value":"myService"},"Patch a service":{"value":"myService"},"Put a service with maximum parameters":{"value":"myService"},"Put a service with minimum parameters":{"value":"myService"}}},"subscriptionId":{"description":"The customer subscription identifier.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a list of application type name resources":{"value":"00000000-0000-0000-0000-000000000000"},"Delete an application type":{"value":"00000000-0000-0000-0000-000000000000"},"Get an application type":{"value":"00000000-0000-0000-0000-000000000000"},"Put an application type":{"value":"00000000-0000-0000-0000-000000000000"},"Get a list of application type version resources":{"value":"00000000-0000-0000-0000-000000000000"},"Delete an application type version":{"value":"00000000-0000-0000-0000-000000000000"},"Get an application type version":{"value":"00000000-0000-0000-0000-000000000000"},"Put an application type version":{"value":"00000000-0000-0000-0000-000000000000"},"Get a list of application resources":{"value":"00000000-0000-0000-0000-000000000000"},"Delete an application":{"value":"00000000-0000-0000-0000-000000000000"},"Get an application":{"value":"00000000-0000-0000-0000-000000000000"},"Patch an application":{"value":"00000000-0000-0000-0000-000000000000"},"Put an application with maximum parameters":{"value":"00000000-0000-0000-0000-000000000000"},"Put an application with minimum parameters":{"value":"00000000-0000-0000-0000-000000000000"},"Get a list of service resources":{"value":"00000000-0000-0000-0000-000000000000"},"Delete a service":{"value":"00000000-0000-0000-0000-000000000000"},"Get a service":{"value":"00000000-0000-0000-0000-000000000000"},"Patch a service":{"value":"00000000-0000-0000-0000-000000000000"},"Put a service with maximum parameters":{"value":"00000000-0000-0000-0000-000000000000"},"Put a service with minimum parameters":{"value":"00000000-0000-0000-0000-000000000000"}}},"version":{"description":"The application type version.","in":"path","name":"version","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Delete an application type version":{"value":"1.0"},"Get an application type version":{"value":"1.0"},"Put an application type version":{"value":"1.0"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"ApplicationMetricDescription":{"description":"Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.\n","properties":{"maximumCapacity":{"description":"The maximum node capacity for Service Fabric application.\nThis is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.\nIf set to zero, capacity for this metric is unlimited on each node.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\nWhen updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.\n","format":"int64","type":"integer"},"name":{"description":"The name of the metric.","type":"string"},"reservationCapacity":{"description":"The node reservation capacity for Service Fabric application.\nThis is the amount of load which is reserved on nodes which have instances of this application.\nIf MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.\nIf set to zero, no capacity is reserved for this metric.\nWhen setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.\n","format":"int64","type":"integer"},"totalApplicationCapacity":{"description":"The total metric capacity for Service Fabric application.\nThis is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.\nWhen creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.\n","format":"int64","type":"integer"}},"type":"object"},"ApplicationMetricDescriptionList":{"description":"List of application capacity metric description.","items":{"$ref":"#/components/schemas/ApplicationMetricDescription"},"type":"array"},"ApplicationParameterList":{"additionalProperties":{"type":"string"},"description":"List of application parameters with overridden values from their default values specified in the application manifest.","type":"object"},"ApplicationResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"The application resource.","properties":{"properties":{"$ref":"#/components/schemas/ApplicationResourceProperties"}}},"ApplicationResourceList":{"description":"The list of application resources.","properties":{"nextLink":{"description":"URL to get the next set of application list results if there are any.","readOnly":true,"type":"string"},"value":{"items":{"$ref":"#/components/schemas/ApplicationResource"},"type":"array"}}},"ApplicationResourceProperties":{"allOf":[{"$ref":"#/components/schemas/ApplicationResourceUpdateProperties"}],"description":"The application resource properties.","properties":{"provisioningState":{"description":"The current deployment or provisioning state, which only appears in the response","readOnly":true,"type":"string"},"typeName":{"$ref":"#/components/schemas/ApplicationTypeName"}}},"ApplicationResourceUpdate":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"The application resource for patch operations.","properties":{"properties":{"$ref":"#/components/schemas/ApplicationResourceUpdateProperties"}}},"ApplicationResourceUpdateProperties":{"description":"The application resource properties for patch operations.","properties":{"maximumNodes":{"default":0,"description":"The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.","format":"int64","minimum":0,"type":"integer"},"metrics":{"$ref":"#/components/schemas/ApplicationMetricDescriptionList"},"minimumNodes":{"description":"The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.","format":"int64","minimum":0,"type":"integer"},"parameters":{"$ref":"#/components/schemas/ApplicationParameterList"},"removeApplicationCapacity":{"description":"Remove the current application capacity settings.","type":"boolean"},"typeVersion":{"$ref":"#/components/schemas/ApplicationTypeVersion"},"upgradePolicy":{"$ref":"#/components/schemas/ApplicationUpgradePolicy"}}},"ApplicationTypeName":{"description":"The application type name as defined in the application manifest.","type":"string"},"ApplicationTypeParameterList":{"additionalProperties":{"type":"string"},"description":"List of application type parameters that can be overridden when creating or updating the application.","type":"object"},"ApplicationTypeResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"The application type name resource","properties":{"properties":{"$ref":"#/components/schemas/ApplicationTypeResourceProperties"}}},"ApplicationTypeResourceList":{"description":"The list of application type names.","properties":{"nextLink":{"description":"URL to get the next set of application type list results if there are any.","readOnly":true,"type":"string"},"value":{"items":{"$ref":"#/components/schemas/ApplicationTypeResource"},"type":"array"}}},"ApplicationTypeResourceProperties":{"description":"The application type name properties","properties":{"provisioningState":{"description":"The current deployment or provisioning state, which only appears in the response.","readOnly":true,"type":"string"}}},"ApplicationTypeVersion":{"description":"The version of the application type as defined in the application manifest.","type":"string"},"ApplicationTypeVersionResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"An application type version resource for the specified application type name resource.","properties":{"properties":{"$ref":"#/components/schemas/ApplicationTypeVersionResourceProperties"}}},"ApplicationTypeVersionResourceList":{"description":"The list of application type version resources for the specified application type name resource.","properties":{"nextLink":{"description":"URL to get the next set of application type version list results if there are any.","readOnly":true,"type":"string"},"value":{"items":{"$ref":"#/components/schemas/ApplicationTypeVersionResource"},"type":"array"}}},"ApplicationTypeVersionResourceProperties":{"description":"The properties of the application type version resource.","properties":{"appPackageUrl":{"description":"The URL to the application package","type":"string"},"defaultParameterList":{"$ref":"#/components/schemas/ApplicationTypeParameterList"},"provisioningState":{"description":"The current deployment or provisioning state, which only appears in the response","readOnly":true,"type":"string"}},"required":["appPackageUrl"]},"ApplicationUpgradePolicy":{"description":"Describes the policy for a monitored application upgrade.","properties":{"applicationHealthPolicy":{"$ref":"#/components/schemas/ArmApplicationHealthPolicy"},"forceRestart":{"$ref":"#/components/schemas/ForceRestart"},"rollingUpgradeMonitoringPolicy":{"$ref":"#/components/schemas/ArmRollingUpgradeMonitoringPolicy"},"upgradeReplicaSetCheckTimeout":{"description":"The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).","type":"string"}}},"ArmApplicationHealthPolicy":{"description":"Defines a health policy used to evaluate the health of an application or one of its children entities.\n","properties":{"considerWarningAsError":{"default":false,"description":"Indicates whether warnings are treated with the same severity as errors.","type":"boolean"},"defaultServiceTypeHealthPolicy":{"$ref":"#/components/schemas/ArmServiceTypeHealthPolicy"},"maxPercentUnhealthyDeployedApplications":{"default":0,"description":"The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n","type":"integer"},"serviceTypeHealthPolicyMap":{"$ref":"#/components/schemas/ArmServiceTypeHealthPolicyMap"}},"type":"object"},"ArmRollingUpgradeMonitoringPolicy":{"description":"The policy used for monitoring the application upgrade","properties":{"failureAction":{"description":"The activation Mode of the service package","enum":["Rollback","Manual"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ArmUpgradeFailureAction","values":[{"description":"Indicates that a rollback of the upgrade will be performed by Service Fabric if the u