Skip to main content

clusters

Creates, updates, deletes, gets or lists a clusters resource.

Overview

Nameclusters
TypeResource
Idazure.service_fabric.clusters

Fields

NameDatatypeDescription
idtextAzure resource identifier.
nametextAzure resource name.
add_on_featurestextfield from the properties object
application_type_versions_cleanup_policytextfield from the properties object
available_cluster_versionstextfield from the properties object
azure_active_directorytextfield from the properties object
certificatetextfield from the properties object
certificate_common_namestextfield from the properties object
client_certificate_common_namestextfield from the properties object
client_certificate_thumbprintstextfield from the properties object
clusterNametextfield from the properties object
cluster_code_versiontextfield from the properties object
cluster_endpointtextfield from the properties object
cluster_idtextfield from the properties object
cluster_statetextfield from the properties object
diagnostics_storage_account_configtextfield from the properties object
etagtextAzure resource etag.
event_store_service_enabledtextfield from the properties object
fabric_settingstextfield from the properties object
infrastructure_service_managertextfield from the properties object
locationtextAzure resource location.
management_endpointtextfield from the properties object
node_typestextfield from the properties object
notificationstextfield from the properties object
provisioning_statetextfield from the properties object
reliability_leveltextfield from the properties object
resourceGroupNametextfield from the properties object
reverse_proxy_certificatetextfield from the properties object
reverse_proxy_certificate_common_namestextfield from the properties object
sf_zonal_upgrade_modetextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextAzure resource tags.
typetextAzure resource type.
upgrade_descriptiontextfield from the properties object
upgrade_modetextfield from the properties object
upgrade_pause_end_timestamp_utctextfield from the properties object
upgrade_pause_start_timestamp_utctextfield from the properties object
upgrade_wavetextfield from the properties object
vm_imagetextfield from the properties object
vmss_zonal_upgrade_modetextfield from the properties object
wave_upgrade_pausedtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, subscriptionIdGet a Service Fabric cluster resource created or in the process of being created in the specified resource group.
listSELECTsubscriptionIdGets all Service Fabric cluster resources created or in the process of being created in the subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all Service Fabric cluster resources created or in the process of being created in the resource group.
create_or_updateINSERTclusterName, resourceGroupName, subscriptionIdCreate or update a Service Fabric cluster resource with the specified name.
deleteDELETEclusterName, resourceGroupName, subscriptionIdDelete a Service Fabric cluster resource with the specified name.
updateUPDATEclusterName, resourceGroupName, subscriptionIdUpdate the configuration of a Service Fabric cluster resource with the specified name.

SELECT examples

Gets all Service Fabric cluster resources created or in the process of being created in the subscription.

SELECT
id,
name,
add_on_features,
application_type_versions_cleanup_policy,
available_cluster_versions,
azure_active_directory,
certificate,
certificate_common_names,
client_certificate_common_names,
client_certificate_thumbprints,
clusterName,
cluster_code_version,
cluster_endpoint,
cluster_id,
cluster_state,
diagnostics_storage_account_config,
etag,
event_store_service_enabled,
fabric_settings,
infrastructure_service_manager,
location,
management_endpoint,
node_types,
notifications,
provisioning_state,
reliability_level,
resourceGroupName,
reverse_proxy_certificate,
reverse_proxy_certificate_common_names,
sf_zonal_upgrade_mode,
subscriptionId,
system_data,
tags,
type,
upgrade_description,
upgrade_mode,
upgrade_pause_end_timestamp_utc,
upgrade_pause_start_timestamp_utc,
upgrade_wave,
vm_image,
vmss_zonal_upgrade_mode,
wave_upgrade_paused
FROM azure.service_fabric.vw_clusters
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new clusters resource.

/*+ create */
INSERT INTO azure.service_fabric.clusters (
clusterName,
resourceGroupName,
subscriptionId,
location,
tags,
systemData,
properties
)
SELECT
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}',
'{{ properties }}'
;

UPDATE example

Updates a clusters resource.

/*+ update */
UPDATE azure.service_fabric.clusters
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified clusters resource.

/*+ delete */
DELETE FROM azure.service_fabric.clusters
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';