clusters
Creates, updates, deletes, gets or lists a clusters resource.
Overview
| Name | clusters |
| Type | Resource |
| Id | azure.service_fabric.clusters |
Fields
The following fields are returned by SELECT queries:
- list_upgradable_versions
- get
- list_by_resource_group
- list
| Name | Datatype | Description |
|---|---|---|
supportedPath | array | The list of intermediate cluster code versions for an upgrade or downgrade. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
addOnFeatures | array | The list of add-on features to enable in the cluster. |
applicationTypeVersionsCleanupPolicy | object | The policy used to clean up unused versions. |
availableClusterVersions | array | The Service Fabric runtime versions available for this cluster. |
azureActiveDirectory | object | The AAD authentication settings of the cluster. |
certificate | object | The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. |
certificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
clientCertificateCommonNames | array | The list of client certificates referenced by common name that are allowed to manage the cluster. |
clientCertificateThumbprints | array | The list of client certificates referenced by thumbprint that are allowed to manage the cluster. |
clusterCodeVersion | string | The Service Fabric runtime version of the cluster. This property can only by set the user when upgradeMode is set to 'Manual'. To get list of available Service Fabric versions for new clusters use ClusterVersion API _. To get the list of available version for existing clusters use availableClusterVersions. |
clusterEndpoint | string | The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. |
clusterId | string | A service generated unique identifier for the cluster resource. |
clusterState | string | The current state of the cluster. * WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. * Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. * BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. * UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. * UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. * UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the upgradeMode is set to 'Automatic'. * EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. * UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. * AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. * Ready - Indicates that the cluster is in a stable state. Known values are: "WaitingForNodes", "Deploying", "BaselineUpgrade", "UpdatingUserConfiguration", "UpdatingUserCertificate", "UpdatingInfrastructure", "EnforcingClusterVersion", "UpgradeServiceUnreachable", "AutoScale", and "Ready". (WaitingForNodes, Deploying, BaselineUpgrade, UpdatingUserConfiguration, UpdatingUserCertificate, UpdatingInfrastructure, EnforcingClusterVersion, UpgradeServiceUnreachable, AutoScale, Ready) |
diagnosticsStorageAccountConfig | object | The storage account information for storing Service Fabric diagnostic logs. |
enableHttpGatewayExclusiveAuthMode | boolean | If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthEndpointPort must be defined. |
etag | string | Azure resource etag. |
eventStoreServiceEnabled | boolean | Indicates if the event store service is enabled. |
fabricSettings | array | The list of custom fabric settings to configure the cluster. |
infrastructureServiceManager | boolean | Indicates if infrastructure service manager is enabled. |
location | string | The geo-location where the resource lives. Required. |
managementEndpoint | string | The http management endpoint of the cluster. Required. |
nodeTypes | array | The list of node types in the cluster. Required. |
notifications | array | Indicates a list of notification channels for cluster events. |
provisioningState | string | The provisioning state of the cluster resource. Known values are: "Updating", "Succeeded", "Failed", and "Canceled". (Updating, Succeeded, Failed, Canceled) |
reliabilityLevel | string | The reliability level sets the replica set size of system services. Learn about ReliabilityLevel _. * None - Run the System services with a target replica set count of 1. This should only be used for test clusters. * Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters. * Silver - Run the System services with a target replica set count of 5. * Gold - Run the System services with a target replica set count of 7. * Platinum - Run the System services with a target replica set count of 9. Known values are: "None", "Bronze", "Silver", "Gold", and "Platinum". (None, Bronze, Silver, Gold, Platinum) |
reverseProxyCertificate | object | The server certificate used by reverse proxy. |
reverseProxyCertificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
sfZonalUpgradeMode | string | This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
upgradeDescription | object | The policy to use when upgrading the cluster. |
upgradeMode | string | The upgrade mode of the cluster when new Service Fabric runtime version is available. Known values are: "Automatic" and "Manual". (Automatic, Manual) |
upgradePauseEndTimestampUtc | string (date-time) | Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradePauseStartTimestampUtc | string (date-time) | Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradeWave | string | Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when upgradeMode is set to 'Automatic'. Known values are: "Wave0", "Wave1", and "Wave2". (Wave0, Wave1, Wave2) |
vmImage | string | The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. |
vmssZonalUpgradeMode | string | This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
waveUpgradePaused | boolean | Boolean to pause automatic runtime version upgrades to the cluster. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
addOnFeatures | array | The list of add-on features to enable in the cluster. |
applicationTypeVersionsCleanupPolicy | object | The policy used to clean up unused versions. |
availableClusterVersions | array | The Service Fabric runtime versions available for this cluster. |
azureActiveDirectory | object | The AAD authentication settings of the cluster. |
certificate | object | The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. |
certificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
clientCertificateCommonNames | array | The list of client certificates referenced by common name that are allowed to manage the cluster. |
clientCertificateThumbprints | array | The list of client certificates referenced by thumbprint that are allowed to manage the cluster. |
clusterCodeVersion | string | The Service Fabric runtime version of the cluster. This property can only by set the user when upgradeMode is set to 'Manual'. To get list of available Service Fabric versions for new clusters use ClusterVersion API _. To get the list of available version for existing clusters use availableClusterVersions. |
clusterEndpoint | string | The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. |
clusterId | string | A service generated unique identifier for the cluster resource. |
clusterState | string | The current state of the cluster. * WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. * Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. * BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. * UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. * UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. * UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the upgradeMode is set to 'Automatic'. * EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. * UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. * AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. * Ready - Indicates that the cluster is in a stable state. Known values are: "WaitingForNodes", "Deploying", "BaselineUpgrade", "UpdatingUserConfiguration", "UpdatingUserCertificate", "UpdatingInfrastructure", "EnforcingClusterVersion", "UpgradeServiceUnreachable", "AutoScale", and "Ready". (WaitingForNodes, Deploying, BaselineUpgrade, UpdatingUserConfiguration, UpdatingUserCertificate, UpdatingInfrastructure, EnforcingClusterVersion, UpgradeServiceUnreachable, AutoScale, Ready) |
diagnosticsStorageAccountConfig | object | The storage account information for storing Service Fabric diagnostic logs. |
enableHttpGatewayExclusiveAuthMode | boolean | If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthEndpointPort must be defined. |
etag | string | Azure resource etag. |
eventStoreServiceEnabled | boolean | Indicates if the event store service is enabled. |
fabricSettings | array | The list of custom fabric settings to configure the cluster. |
infrastructureServiceManager | boolean | Indicates if infrastructure service manager is enabled. |
location | string | The geo-location where the resource lives. Required. |
managementEndpoint | string | The http management endpoint of the cluster. Required. |
nodeTypes | array | The list of node types in the cluster. Required. |
notifications | array | Indicates a list of notification channels for cluster events. |
provisioningState | string | The provisioning state of the cluster resource. Known values are: "Updating", "Succeeded", "Failed", and "Canceled". (Updating, Succeeded, Failed, Canceled) |
reliabilityLevel | string | The reliability level sets the replica set size of system services. Learn about ReliabilityLevel _. * None - Run the System services with a target replica set count of 1. This should only be used for test clusters. * Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters. * Silver - Run the System services with a target replica set count of 5. * Gold - Run the System services with a target replica set count of 7. * Platinum - Run the System services with a target replica set count of 9. Known values are: "None", "Bronze", "Silver", "Gold", and "Platinum". (None, Bronze, Silver, Gold, Platinum) |
reverseProxyCertificate | object | The server certificate used by reverse proxy. |
reverseProxyCertificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
sfZonalUpgradeMode | string | This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
upgradeDescription | object | The policy to use when upgrading the cluster. |
upgradeMode | string | The upgrade mode of the cluster when new Service Fabric runtime version is available. Known values are: "Automatic" and "Manual". (Automatic, Manual) |
upgradePauseEndTimestampUtc | string (date-time) | Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradePauseStartTimestampUtc | string (date-time) | Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradeWave | string | Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when upgradeMode is set to 'Automatic'. Known values are: "Wave0", "Wave1", and "Wave2". (Wave0, Wave1, Wave2) |
vmImage | string | The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. |
vmssZonalUpgradeMode | string | This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
waveUpgradePaused | boolean | Boolean to pause automatic runtime version upgrades to the cluster. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
addOnFeatures | array | The list of add-on features to enable in the cluster. |
applicationTypeVersionsCleanupPolicy | object | The policy used to clean up unused versions. |
availableClusterVersions | array | The Service Fabric runtime versions available for this cluster. |
azureActiveDirectory | object | The AAD authentication settings of the cluster. |
certificate | object | The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. |
certificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
clientCertificateCommonNames | array | The list of client certificates referenced by common name that are allowed to manage the cluster. |
clientCertificateThumbprints | array | The list of client certificates referenced by thumbprint that are allowed to manage the cluster. |
clusterCodeVersion | string | The Service Fabric runtime version of the cluster. This property can only by set the user when upgradeMode is set to 'Manual'. To get list of available Service Fabric versions for new clusters use ClusterVersion API _. To get the list of available version for existing clusters use availableClusterVersions. |
clusterEndpoint | string | The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. |
clusterId | string | A service generated unique identifier for the cluster resource. |
clusterState | string | The current state of the cluster. * WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. * Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. * BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. * UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. * UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. * UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the upgradeMode is set to 'Automatic'. * EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. * UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. * AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. * Ready - Indicates that the cluster is in a stable state. Known values are: "WaitingForNodes", "Deploying", "BaselineUpgrade", "UpdatingUserConfiguration", "UpdatingUserCertificate", "UpdatingInfrastructure", "EnforcingClusterVersion", "UpgradeServiceUnreachable", "AutoScale", and "Ready". (WaitingForNodes, Deploying, BaselineUpgrade, UpdatingUserConfiguration, UpdatingUserCertificate, UpdatingInfrastructure, EnforcingClusterVersion, UpgradeServiceUnreachable, AutoScale, Ready) |
diagnosticsStorageAccountConfig | object | The storage account information for storing Service Fabric diagnostic logs. |
enableHttpGatewayExclusiveAuthMode | boolean | If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthEndpointPort must be defined. |
etag | string | Azure resource etag. |
eventStoreServiceEnabled | boolean | Indicates if the event store service is enabled. |
fabricSettings | array | The list of custom fabric settings to configure the cluster. |
infrastructureServiceManager | boolean | Indicates if infrastructure service manager is enabled. |
location | string | The geo-location where the resource lives. Required. |
managementEndpoint | string | The http management endpoint of the cluster. Required. |
nodeTypes | array | The list of node types in the cluster. Required. |
notifications | array | Indicates a list of notification channels for cluster events. |
provisioningState | string | The provisioning state of the cluster resource. Known values are: "Updating", "Succeeded", "Failed", and "Canceled". (Updating, Succeeded, Failed, Canceled) |
reliabilityLevel | string | The reliability level sets the replica set size of system services. Learn about ReliabilityLevel _. * None - Run the System services with a target replica set count of 1. This should only be used for test clusters. * Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters. * Silver - Run the System services with a target replica set count of 5. * Gold - Run the System services with a target replica set count of 7. * Platinum - Run the System services with a target replica set count of 9. Known values are: "None", "Bronze", "Silver", "Gold", and "Platinum". (None, Bronze, Silver, Gold, Platinum) |
reverseProxyCertificate | object | The server certificate used by reverse proxy. |
reverseProxyCertificateCommonNames | object | Describes a list of server certificates referenced by common name that are used to secure the cluster. |
sfZonalUpgradeMode | string | This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
upgradeDescription | object | The policy to use when upgrading the cluster. |
upgradeMode | string | The upgrade mode of the cluster when new Service Fabric runtime version is available. Known values are: "Automatic" and "Manual". (Automatic, Manual) |
upgradePauseEndTimestampUtc | string (date-time) | Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradePauseStartTimestampUtc | string (date-time) | Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). |
upgradeWave | string | Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when upgradeMode is set to 'Automatic'. Known values are: "Wave0", "Wave1", and "Wave2". (Wave0, Wave1, Wave2) |
vmImage | string | The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. |
vmssZonalUpgradeMode | string | This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. Known values are: "Parallel" and "Hierarchical". (Parallel, Hierarchical) |
waveUpgradePaused | boolean | Boolean to pause automatic runtime version upgrades to the cluster. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_upgradable_versions | select | resource_group_name, cluster_name, subscription_id | Operation to get the minimum and maximum upgradable version from the current cluster version, or the required path to get to the an specific target version. If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version. | |
get | select | resource_group_name, cluster_name, subscription_id | Gets a Service Fabric cluster resource. Get a Service Fabric cluster resource created or in the process of being created in the specified resource group. | |
list_by_resource_group | select | resource_group_name, subscription_id | Gets the list of Service Fabric cluster resources created in the specified resource group. Gets all Service Fabric cluster resources created or in the process of being created in the resource group. | |
list | select | subscription_id | Gets the list of Service Fabric cluster resources created in the specified subscription. Gets all Service Fabric cluster resources created or in the process of being created in the subscription. | |
create_or_update | insert | resource_group_name, cluster_name, subscription_id, location | Creates or updates a Service Fabric cluster resource. Create or update a Service Fabric cluster resource with the specified name. | |
update | update | resource_group_name, cluster_name, subscription_id | Updates the configuration of a Service Fabric cluster resource. Update the configuration of a Service Fabric cluster resource with the specified name. | |
create_or_update | replace | resource_group_name, cluster_name, subscription_id, location | Creates or updates a Service Fabric cluster resource. Create or update a Service Fabric cluster resource with the specified name. | |
delete | delete | resource_group_name, cluster_name, subscription_id | Deletes a Service Fabric cluster resource. Delete a Service Fabric cluster resource with the specified name. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
cluster_name | string | The name of the cluster resource. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- list_upgradable_versions
- get
- list_by_resource_group
- list
Operation to get the minimum and maximum upgradable version from the current cluster version, or the required path to get to the an specific target version. If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version.
SELECT
supportedPath
FROM azure.service_fabric.clusters
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets a Service Fabric cluster resource. Get a Service Fabric cluster resource created or in the process of being created in the specified resource group.
SELECT
id,
name,
addOnFeatures,
applicationTypeVersionsCleanupPolicy,
availableClusterVersions,
azureActiveDirectory,
certificate,
certificateCommonNames,
clientCertificateCommonNames,
clientCertificateThumbprints,
clusterCodeVersion,
clusterEndpoint,
clusterId,
clusterState,
diagnosticsStorageAccountConfig,
enableHttpGatewayExclusiveAuthMode,
etag,
eventStoreServiceEnabled,
fabricSettings,
infrastructureServiceManager,
location,
managementEndpoint,
nodeTypes,
notifications,
provisioningState,
reliabilityLevel,
reverseProxyCertificate,
reverseProxyCertificateCommonNames,
sfZonalUpgradeMode,
systemData,
tags,
type,
upgradeDescription,
upgradeMode,
upgradePauseEndTimestampUtc,
upgradePauseStartTimestampUtc,
upgradeWave,
vmImage,
vmssZonalUpgradeMode,
waveUpgradePaused
FROM azure.service_fabric.clusters
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets the list of Service Fabric cluster resources created in the specified resource group. Gets all Service Fabric cluster resources created or in the process of being created in the resource group.
SELECT
id,
name,
addOnFeatures,
applicationTypeVersionsCleanupPolicy,
availableClusterVersions,
azureActiveDirectory,
certificate,
certificateCommonNames,
clientCertificateCommonNames,
clientCertificateThumbprints,
clusterCodeVersion,
clusterEndpoint,
clusterId,
clusterState,
diagnosticsStorageAccountConfig,
enableHttpGatewayExclusiveAuthMode,
etag,
eventStoreServiceEnabled,
fabricSettings,
infrastructureServiceManager,
location,
managementEndpoint,
nodeTypes,
notifications,
provisioningState,
reliabilityLevel,
reverseProxyCertificate,
reverseProxyCertificateCommonNames,
sfZonalUpgradeMode,
systemData,
tags,
type,
upgradeDescription,
upgradeMode,
upgradePauseEndTimestampUtc,
upgradePauseStartTimestampUtc,
upgradeWave,
vmImage,
vmssZonalUpgradeMode,
waveUpgradePaused
FROM azure.service_fabric.clusters
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets the list of Service Fabric cluster resources created in the specified subscription. Gets all Service Fabric cluster resources created or in the process of being created in the subscription.
SELECT
id,
name,
addOnFeatures,
applicationTypeVersionsCleanupPolicy,
availableClusterVersions,
azureActiveDirectory,
certificate,
certificateCommonNames,
clientCertificateCommonNames,
clientCertificateThumbprints,
clusterCodeVersion,
clusterEndpoint,
clusterId,
clusterState,
diagnosticsStorageAccountConfig,
enableHttpGatewayExclusiveAuthMode,
etag,
eventStoreServiceEnabled,
fabricSettings,
infrastructureServiceManager,
location,
managementEndpoint,
nodeTypes,
notifications,
provisioningState,
reliabilityLevel,
reverseProxyCertificate,
reverseProxyCertificateCommonNames,
sfZonalUpgradeMode,
systemData,
tags,
type,
upgradeDescription,
upgradeMode,
upgradePauseEndTimestampUtc,
upgradePauseStartTimestampUtc,
upgradeWave,
vmImage,
vmssZonalUpgradeMode,
waveUpgradePaused
FROM azure.service_fabric.clusters
WHERE subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Creates or updates a Service Fabric cluster resource. Create or update a Service Fabric cluster resource with the specified name.
INSERT INTO azure.service_fabric.clusters (
tags,
location,
properties,
resource_group_name,
cluster_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: clusters
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the clusters resource.
- name: cluster_name
value: "{{ cluster_name }}"
description: Required parameter for the clusters resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the clusters resource.
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives. Required.
- name: properties
description: |
The cluster resource properties.
value:
addOnFeatures:
- "{{ addOnFeatures }}"
availableClusterVersions:
- codeVersion: "{{ codeVersion }}"
supportExpiryUtc: "{{ supportExpiryUtc }}"
environment: "{{ environment }}"
azureActiveDirectory:
tenantId: "{{ tenantId }}"
clusterApplication: "{{ clusterApplication }}"
clientApplication: "{{ clientApplication }}"
certificate:
thumbprint: "{{ thumbprint }}"
thumbprintSecondary: "{{ thumbprintSecondary }}"
x509StoreName: "{{ x509StoreName }}"
certificateCommonNames:
commonNames:
- certificateCommonName: "{{ certificateCommonName }}"
certificateIssuerThumbprint: "{{ certificateIssuerThumbprint }}"
x509StoreName: "{{ x509StoreName }}"
clientCertificateCommonNames:
- isAdmin: {{ isAdmin }}
certificateCommonName: "{{ certificateCommonName }}"
certificateIssuerThumbprint: "{{ certificateIssuerThumbprint }}"
clientCertificateThumbprints:
- isAdmin: {{ isAdmin }}
certificateThumbprint: "{{ certificateThumbprint }}"
clusterCodeVersion: "{{ clusterCodeVersion }}"
clusterEndpoint: "{{ clusterEndpoint }}"
clusterId: "{{ clusterId }}"
clusterState: "{{ clusterState }}"
diagnosticsStorageAccountConfig:
storageAccountName: "{{ storageAccountName }}"
protectedAccountKeyName: "{{ protectedAccountKeyName }}"
protectedAccountKeyName2: "{{ protectedAccountKeyName2 }}"
blobEndpoint: "{{ blobEndpoint }}"
queueEndpoint: "{{ queueEndpoint }}"
tableEndpoint: "{{ tableEndpoint }}"
eventStoreServiceEnabled: {{ eventStoreServiceEnabled }}
fabricSettings:
- name: "{{ name }}"
parameters: "{{ parameters }}"
managementEndpoint: "{{ managementEndpoint }}"
nodeTypes:
- name: "{{ name }}"
placementProperties: "{{ placementProperties }}"
capacities: "{{ capacities }}"
clientConnectionEndpointPort: {{ clientConnectionEndpointPort }}
httpGatewayEndpointPort: {{ httpGatewayEndpointPort }}
durabilityLevel: "{{ durabilityLevel }}"
applicationPorts:
startPort: {{ startPort }}
endPort: {{ endPort }}
ephemeralPorts:
startPort: {{ startPort }}
endPort: {{ endPort }}
isPrimary: {{ isPrimary }}
vmInstanceCount: {{ vmInstanceCount }}
reverseProxyEndpointPort: {{ reverseProxyEndpointPort }}
isStateless: {{ isStateless }}
multipleAvailabilityZones: {{ multipleAvailabilityZones }}
httpGatewayTokenAuthEndpointPort: {{ httpGatewayTokenAuthEndpointPort }}
provisioningState: "{{ provisioningState }}"
reliabilityLevel: "{{ reliabilityLevel }}"
reverseProxyCertificate:
thumbprint: "{{ thumbprint }}"
thumbprintSecondary: "{{ thumbprintSecondary }}"
x509StoreName: "{{ x509StoreName }}"
reverseProxyCertificateCommonNames:
commonNames:
- certificateCommonName: "{{ certificateCommonName }}"
certificateIssuerThumbprint: "{{ certificateIssuerThumbprint }}"
x509StoreName: "{{ x509StoreName }}"
upgradeDescription:
forceRestart: {{ forceRestart }}
upgradeReplicaSetCheckTimeout: "{{ upgradeReplicaSetCheckTimeout }}"
healthCheckWaitDuration: "{{ healthCheckWaitDuration }}"
healthCheckStableDuration: "{{ healthCheckStableDuration }}"
healthCheckRetryTimeout: "{{ healthCheckRetryTimeout }}"
upgradeTimeout: "{{ upgradeTimeout }}"
upgradeDomainTimeout: "{{ upgradeDomainTimeout }}"
healthPolicy:
maxPercentUnhealthyNodes: {{ maxPercentUnhealthyNodes }}
maxPercentUnhealthyApplications: {{ maxPercentUnhealthyApplications }}
applicationHealthPolicies: "{{ applicationHealthPolicies }}"
deltaHealthPolicy:
maxPercentDeltaUnhealthyNodes: {{ maxPercentDeltaUnhealthyNodes }}
maxPercentUpgradeDomainDeltaUnhealthyNodes: {{ maxPercentUpgradeDomainDeltaUnhealthyNodes }}
maxPercentDeltaUnhealthyApplications: {{ maxPercentDeltaUnhealthyApplications }}
applicationDeltaHealthPolicies: "{{ applicationDeltaHealthPolicies }}"
upgradeMode: "{{ upgradeMode }}"
applicationTypeVersionsCleanupPolicy:
maxUnusedVersionsToKeep: {{ maxUnusedVersionsToKeep }}
vmImage: "{{ vmImage }}"
sfZonalUpgradeMode: "{{ sfZonalUpgradeMode }}"
vmssZonalUpgradeMode: "{{ vmssZonalUpgradeMode }}"
infrastructureServiceManager: {{ infrastructureServiceManager }}
upgradeWave: "{{ upgradeWave }}"
upgradePauseStartTimestampUtc: "{{ upgradePauseStartTimestampUtc }}"
upgradePauseEndTimestampUtc: "{{ upgradePauseEndTimestampUtc }}"
waveUpgradePaused: {{ waveUpgradePaused }}
notifications:
- isEnabled: {{ isEnabled }}
notificationCategory: "{{ notificationCategory }}"
notificationLevel: "{{ notificationLevel }}"
notificationTargets: "{{ notificationTargets }}"
enableHttpGatewayExclusiveAuthMode: {{ enableHttpGatewayExclusiveAuthMode }}
UPDATE examples
- update
Updates the configuration of a Service Fabric cluster resource. Update the configuration of a Service Fabric cluster resource with the specified name.
UPDATE azure.service_fabric.clusters
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type;
REPLACE examples
- create_or_update
Creates or updates a Service Fabric cluster resource. Create or update a Service Fabric cluster resource with the specified name.
REPLACE azure.service_fabric.clusters
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type;
DELETE examples
- delete
Deletes a Service Fabric cluster resource. Delete a Service Fabric cluster resource with the specified name.
DELETE FROM azure.service_fabric.clusters
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;