Package: azure-mgmt-servicefabric
Microsoft Azure SDK for PythonThis is the Microsoft Azure Service Fabric Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-servicefabric
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.servicefabricimportServiceFabricManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=ServiceFabricManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Service Fabric Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History2.1.0 (2023-12-18)Features AddedAdded model ClusterVersionsEnvironment2.1.0b1 (2022-11-08)Features AddedAdded model ClusterVersionsEnvironment2.0.0 (2021-09-02)FeaturesModel NodeTypeDescription has a new parameter multiple_availability_zonesModel NodeTypeDescription has a new parameter is_statelessModel ApplicationResource has a new parameter system_dataModel ApplicationResourceUpdate has a new parameter system_dataModel Cluster has a new parameter wave_upgrade_pausedModel Cluster has a new parameter system_dataModel Cluster has a new parameter upgrade_pause_end_timestamp_utcModel Cluster has a new parameter notificationsModel Cluster has a new parameter sf_zonal_upgrade_modeModel Cluster has a new parameter vmss_zonal_upgrade_modeModel Cluster has a new parameter upgrade_pause_start_timestamp_utcModel Cluster has a new parameter upgrade_waveModel Cluster has a new parameter infrastructure_service_managerModel ProxyResource has a new parameter system_dataModel OperationResult has a new parameter is_data_actionModel ApplicationTypeVersionResource has a new parameter system_dataModel ServiceResourceUpdate has a new parameter system_dataModel ClusterUpdateParameters has a new parameter wave_upgrade_pausedModel ClusterUpdateParameters has a new parameter upgrade_pause_end_timestamp_utcModel ClusterUpdateParameters has a new parameter notificationsModel ClusterUpdateParameters has a new parameter sf_zonal_upgrade_modeModel ClusterUpdateParameters has a new parameter vmss_zonal_upgrade_modeModel ClusterUpdateParameters has a new parameter upgrade_pause_start_timestamp_utcModel ClusterUpdateParameters has a new parameter upgrade_waveModel ClusterUpdateParameters has a new parameter infrastructure_service_managerModel ApplicationTypeResource has a new parameter system_dataModel Resource has a new parameter system_dataModel ServiceResource has a new parameter system_dataModel ApplicationUpgradePolicy has a new parameter recreate_applicationAdded operation ClustersOperations.list_upgradable_versionsBreaking changesRemoved operation group ManagedClusterVersionsOperationsRemoved operation group ManagedclusterOperationsRemoved operation group ManagedClustersOperationsRemoved operation group ApplicationOperationsRemoved operation group NodeTypesOperationsRemoved operation group NodetypeOperations1.0.0 (2021-06-03)FeaturesModel ManagedCluster has a new parameter addon_featuresModel ManagedClusterUpdateParameters has a new parameter addon_featuresAdded operation group ManagedclusterOperationsAdded operation group ApplicationOperationsAdded operation group NodetypeOperationsBreaking changesOperation ApplicationTypesOperations.create_or_update has a new signatureOperation NodeTypesOperations.begin_delete_node has a new signatureOperation NodeTypesOperations.begin_reimage has a new signatureOperation NodeTypesOperations.begin_restart has a new signatureOperation NodeTypesOperations.begin_restart has a new signatureOperation NodeTypesOperations.begin_reimage has a new signatureOperation NodeTypesOperations.begin_delete_node has a new signatureOperation ApplicationTypesOperations.create_or_update has a new signatureModel ManagedCluster no longer has parameter cluster_upgrade_descriptionModel ManagedCluster no longer has parameter cluster_upgrade_modeModel ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_descriptionModel ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_mode1.0.0b1 (2020-12-02)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.5.0 (2020-07-28)FeaturesModel StatelessServiceProperties has a new parameter instance_close_delay_durationModel StatelessServiceProperties has a new parameter service_dns_nameModel StatelessServiceUpdateProperties has a new parameter instance_close_delay_durationModel ServiceResource has a new parameter service_dns_nameModel ServiceResourceProperties has a new parameter service_dns_nameModel Cluster has a new parameter application_type_versions_cleanup_policyModel ApplicationResourceUpdate has a new parameter managed_identitiesModel StatefulServiceProperties has a new parameter service_dns_nameModel ApplicationUpgradePolicy has a new parameter upgrade_modeModel DiagnosticsStorageAccountConfig has a new parameter protected_account_key_name2Model ApplicationResource has a new parameter identityModel ApplicationResource has a new parameter managed_identitiesModel ClusterUpdateParameters has a new parameter application_type_versions_cleanup_policyAdded operation group NodeTypesOperationsAdded operation group ManagedClusterVersionsOperationsAdded operation group ManagedClustersOperations0.4.0 (2019-08-19)FeaturesAdded operation ClustersOperations.create_or_updateAdded operation ServicesOperations.create_or_updateAdded operation ApplicationsOperations.create_or_updateAdded operation ApplicationTypesOperations.create_or_updateAdded operation ApplicationTypeVersionsOperations.create_or_updateBreaking changesRemoved operation ClustersOperations.createRemoved operation ServicesOperations.createRemoved operation ApplicationsOperations.createRemoved operation ApplicationTypesOperations.createRemoved operation ApplicationTypeVersionsOperations.createGeneral Breaking changesThis version uses a next-generation code generator thatmightintroduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.ServiceFabricManagementClient cannot be imported fromazure.mgmt.servicefabric.service_fabric_management_clientanymore (import fromazure.mgmt.servicefabricworks like before)ServiceFabricManagementClientConfiguration import has been moved
fromazure.mgmt.servicefabric.service_fabric_management_clienttoazure.mgmt.servicefabricA modelMyClassfrom a "models" sub-module cannot be imported
anymore usingazure.mgmt.servicefabric.models.my_class(import
fromazure.mgmt.servicefabric.modelsworks like before)An operation classMyClassOperationsfrom anoperationssub-module cannot be imported anymore usingazure.mgmt.servicefabric.operations.my_class_operations(import fromazure.mgmt.servicefabric.operationsworks like
before)Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.0.3.0 (2019-05-30)Breaking changesModel ServiceTypeHealthPolicy has a new signatureModel ApplicationHealthPolicy has a new signatureModel ErrorModel has a new signatureRenamed operation group "application_type" to "application_types"Renamed operation group "service" to "services"Renamed operation group "application" to "applications"Removed operation group "version"FeaturesAdd tags and etag attributes where supportedModel ClusterHealthPolicy has a new parameter
application_health_policiesModel ClusterUpgradeDeltaHealthPolicy has a new parameter
application_delta_health_policiesModel StatelessServiceProperties has a new parameter
service_package_activation_modeModel ServiceResource has a new parameter
service_package_activation_modeModel Cluster has a new parameter
reverse_proxy_certificate_common_namesModel Cluster has a new parameter certificate_common_namesModel Cluster has a new parameter event_store_service_enabledModel StatefulServiceProperties has a new parameter
service_package_activation_modeModel ClusterUpdateParameters has a new parameter
certificate_common_namesModel ClusterUpdateParameters has a new parameter
event_store_service_enabled0.2.0 (2018-08-01)New preview release, based on 2017-07-01-previewExpect many breaking changes0.1.0 (2017-08-24)Initial preview release