@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ServiceFabricManagementClient
@base https://management.azure.com
@version 2019-03-01-preview
@auth OAuth2
@common_fields {api-version: any # 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.}
@endpoints 11
@toc subscriptions(10), providers(1)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
@desc Gets a Service Fabric cluster resource.
@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster resource., subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
@desc Creates or updates a Service Fabric cluster resource.
@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster resource., subscriptionId: any # The customer subscription identifier., parameters: map # The cluster resource.}
@returns(200) The operation completed successfully.
@returns(202) The request was accepted and the operation will complete asynchronously.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
@desc Updates the configuration of a Service Fabric cluster resource.
@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster resource., subscriptionId: any # The customer subscription identifier., parameters: any # The parameters which contains the property value and property name which used to update the cluster configuration.}
@returns(200) The operation completed successfully.
@returns(202) The request was accepted and the operation will complete asynchronously.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
@desc Deletes a Service Fabric cluster resource.
@required {resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster resource., subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.
@returns(204) The resource was not found.

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters
@desc Gets the list of Service Fabric cluster resources created in the specified resource group.
@required {resourceGroupName: any # The name of the resource group., subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/clusters
@desc Gets the list of Service Fabric cluster resources created in the specified subscription.
@required {subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions/{clusterVersion}
@desc Gets information about a Service Fabric cluster code version available in the specified location.
@required {location: any # The location for the cluster code versions. This is different from cluster location., subscriptionId: any # The customer subscription identifier., clusterVersion: any # The cluster code version.}
@returns(200) The operation completed successfully.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions/{clusterVersion}
@desc Gets information about a Service Fabric cluster code version available for the specified environment.
@required {location: any # The location for the cluster code versions. This is different from cluster location., environment: any # The operating system of the cluster. The default means all., subscriptionId: any # The customer subscription identifier., clusterVersion: any # The cluster code version.}
@returns(200) The operation completed successfully.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/clusterVersions
@desc Gets the list of Service Fabric cluster code versions available for the specified location.
@required {location: any # The location for the cluster code versions. This is different from cluster location., subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/clusterVersions
@desc Gets the list of Service Fabric cluster code versions available for the specified environment.
@required {location: any # The location for the cluster code versions. This is different from cluster location., environment: any # The operating system of the cluster. The default means all., subscriptionId: any # The customer subscription identifier.}
@returns(200) The operation completed successfully.

@endgroup

@group providers
@endpoint GET /providers/Microsoft.ServiceFabric/operations
@desc Lists all of the available Service Fabric resource provider API operations.
@returns(200) OK. The request has succeeded.

@endgroup

@end
