Skip to content

Commit

Permalink
CodeGen from PR 15308 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
SF updates for 8.1 (Azure#15308)

* SF updates for 8.2

* fixed typo and added 8.1

* set the version to match.

* fixed last typo.

* fixed missing block.

* remove Go SDK from auto-codegen

* avoid hitting credscan alerts.

Co-authored-by: Joel Hendrix <[email protected]>
  • Loading branch information
SDKAuto and jhendrixMSFT committed Aug 11, 2021
1 parent 03516c3 commit 9f6ca4f
Show file tree
Hide file tree
Showing 8 changed files with 2,597 additions and 68 deletions.
1 change: 1 addition & 0 deletions sdk/servicefabric/azure-servicefabric/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/servicefabric/azure-servicefabric/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "70626b932d16a97361673e0bcba7570284fe0813",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicefabric/data-plane/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/servicefabric/data-plane/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
super(ServiceFabricClientAPIs, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '7.1.0.45'
self.api_version = '8.1'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from ._models_py3 import ApplicationHealthPolicies
from ._models_py3 import ApplicationHealthPolicy
from ._models_py3 import ApplicationHealthPolicyMapItem
from ._models_py3 import ApplicationHealthPolicyMapObject
from ._models_py3 import ApplicationHealthReportExpiredEvent
from ._models_py3 import ApplicationHealthState
from ._models_py3 import ApplicationHealthStateChunk
Expand All @@ -52,6 +53,7 @@
from ._models_py3 import ApplicationTypeImageStorePath
from ._models_py3 import ApplicationTypeInfo
from ._models_py3 import ApplicationTypeManifest
from ._models_py3 import ApplicationUpdateDescription
from ._models_py3 import ApplicationUpgradeCompletedEvent
from ._models_py3 import ApplicationUpgradeDescription
from ._models_py3 import ApplicationUpgradeDomainCompletedEvent
Expand Down Expand Up @@ -183,6 +185,7 @@
from ._models_py3 import DisableBackupDescription
from ._models_py3 import DiskInfo
from ._models_py3 import DoublePropertyValue
from ._models_py3 import DsmsAzureBlobBackupStorageDescription
from ._models_py3 import EnableBackupDescription
from ._models_py3 import EndpointProperties
from ._models_py3 import EndpointRef
Expand Down Expand Up @@ -237,17 +240,23 @@
from ._models_py3 import ImageStoreCopyDescription
from ._models_py3 import ImageStoreInfo
from ._models_py3 import InlinedValueSecretResourceProperties
from ._models_py3 import InstanceLifecycleDescription
from ._models_py3 import Int64PropertyValue
from ._models_py3 import Int64RangePartitionInformation
from ._models_py3 import InvokeDataLossResult
from ._models_py3 import InvokeQuorumLossResult
from ._models_py3 import KeyValueStoreReplicaStatus
from ._models_py3 import LoadedPartitionInformationQueryDescription
from ._models_py3 import LoadedPartitionInformationResult
from ._models_py3 import LoadedPartitionInformationResultList
from ._models_py3 import LoadMetricInformation
from ._models_py3 import LoadMetricReport
from ._models_py3 import LoadMetricReportInfo
from ._models_py3 import LocalNetworkResourceProperties
from ._models_py3 import ManagedApplicationIdentity
from ._models_py3 import ManagedApplicationIdentityDescription
from ._models_py3 import ManagedIdentityAzureBlobBackupStorageDescription
from ._models_py3 import MetricLoadDescription
from ._models_py3 import MonitoringPolicyDescription
from ._models_py3 import NameDescription
from ._models_py3 import NamedPartitionInformation
Expand Down Expand Up @@ -286,8 +295,11 @@
from ._models_py3 import NodeRepairTargetDescription
from ._models_py3 import NodeResult
from ._models_py3 import NodesHealthEvaluation
from ._models_py3 import NodeTagsDescription
from ._models_py3 import NodeTransitionProgress
from ._models_py3 import NodeTransitionResult
from ._models_py3 import NodeTypeHealthPolicyMapItem
from ._models_py3 import NodeTypeNodesHealthEvaluation
from ._models_py3 import NodeUpEvent
from ._models_py3 import NodeUpgradeProgressInfo
from ._models_py3 import OperationStatus
Expand All @@ -313,6 +325,7 @@
from ._models_py3 import PagedServiceReplicaDescriptionList
from ._models_py3 import PagedServiceResourceDescriptionList
from ._models_py3 import PagedSubNameInfoList
from ._models_py3 import PagedUpdatePartitionLoadResultList
from ._models_py3 import PagedVolumeResourceDescriptionList
from ._models_py3 import PartitionAnalysisEvent
from ._models_py3 import PartitionBackupConfigurationInfo
Expand All @@ -329,6 +342,7 @@
from ._models_py3 import PartitionInformation
from ._models_py3 import PartitionInstanceCountScaleMechanism
from ._models_py3 import PartitionLoadInformation
from ._models_py3 import PartitionMetricLoadDescription
from ._models_py3 import PartitionNewHealthReportEvent
from ._models_py3 import PartitionPrimaryMoveAnalysisEvent
from ._models_py3 import PartitionQuorumLossProgress
Expand Down Expand Up @@ -377,6 +391,8 @@
from ._models_py3 import ReplicaHealthStateChunkList
from ._models_py3 import ReplicaHealthStateFilter
from ._models_py3 import ReplicaInfo
from ._models_py3 import ReplicaLifecycleDescription
from ._models_py3 import ReplicaMetricLoadDescription
from ._models_py3 import ReplicasHealthEvaluation
from ._models_py3 import ReplicaStatusBase
from ._models_py3 import ReplicatorQueueStatus
Expand Down Expand Up @@ -433,6 +449,7 @@
from ._models_py3 import ServiceNameInfo
from ._models_py3 import ServiceNewHealthReportEvent
from ._models_py3 import ServicePartitionInfo
from ._models_py3 import ServicePlacementAllowMultipleStatelessInstancesOnNodePolicyDescription
from ._models_py3 import ServicePlacementInvalidDomainPolicyDescription
from ._models_py3 import ServicePlacementNonPartiallyPlaceServicePolicyDescription
from ._models_py3 import ServicePlacementPolicyDescription
Expand Down Expand Up @@ -491,7 +508,9 @@
from ._models_py3 import UnprovisionApplicationTypeDescriptionInfo
from ._models_py3 import UnprovisionFabricDescription
from ._models_py3 import UpdateClusterUpgradeDescription
from ._models_py3 import UpdatePartitionLoadResult
from ._models_py3 import UpgradeDomainDeltaNodesCheckHealthEvaluation
from ._models_py3 import UpgradeDomainDeployedApplicationsHealthEvaluation
from ._models_py3 import UpgradeDomainInfo
from ._models_py3 import UpgradeDomainNodesHealthEvaluation
from ._models_py3 import UpgradeOrchestrationServiceState
Expand Down Expand Up @@ -528,6 +547,7 @@
from ._models import ApplicationHealthPolicies
from ._models import ApplicationHealthPolicy
from ._models import ApplicationHealthPolicyMapItem
from ._models import ApplicationHealthPolicyMapObject
from ._models import ApplicationHealthReportExpiredEvent
from ._models import ApplicationHealthState
from ._models import ApplicationHealthStateChunk
Expand All @@ -552,6 +572,7 @@
from ._models import ApplicationTypeImageStorePath
from ._models import ApplicationTypeInfo
from ._models import ApplicationTypeManifest
from ._models import ApplicationUpdateDescription
from ._models import ApplicationUpgradeCompletedEvent
from ._models import ApplicationUpgradeDescription
from ._models import ApplicationUpgradeDomainCompletedEvent
Expand Down Expand Up @@ -683,6 +704,7 @@
from ._models import DisableBackupDescription
from ._models import DiskInfo
from ._models import DoublePropertyValue
from ._models import DsmsAzureBlobBackupStorageDescription
from ._models import EnableBackupDescription
from ._models import EndpointProperties
from ._models import EndpointRef
Expand Down Expand Up @@ -737,17 +759,23 @@
from ._models import ImageStoreCopyDescription
from ._models import ImageStoreInfo
from ._models import InlinedValueSecretResourceProperties
from ._models import InstanceLifecycleDescription
from ._models import Int64PropertyValue
from ._models import Int64RangePartitionInformation
from ._models import InvokeDataLossResult
from ._models import InvokeQuorumLossResult
from ._models import KeyValueStoreReplicaStatus
from ._models import LoadedPartitionInformationQueryDescription
from ._models import LoadedPartitionInformationResult
from ._models import LoadedPartitionInformationResultList
from ._models import LoadMetricInformation
from ._models import LoadMetricReport
from ._models import LoadMetricReportInfo
from ._models import LocalNetworkResourceProperties
from ._models import ManagedApplicationIdentity
from ._models import ManagedApplicationIdentityDescription
from ._models import ManagedIdentityAzureBlobBackupStorageDescription
from ._models import MetricLoadDescription
from ._models import MonitoringPolicyDescription
from ._models import NameDescription
from ._models import NamedPartitionInformation
Expand Down Expand Up @@ -786,8 +814,11 @@
from ._models import NodeRepairTargetDescription
from ._models import NodeResult
from ._models import NodesHealthEvaluation
from ._models import NodeTagsDescription
from ._models import NodeTransitionProgress
from ._models import NodeTransitionResult
from ._models import NodeTypeHealthPolicyMapItem
from ._models import NodeTypeNodesHealthEvaluation
from ._models import NodeUpEvent
from ._models import NodeUpgradeProgressInfo
from ._models import OperationStatus
Expand All @@ -813,6 +844,7 @@
from ._models import PagedServiceReplicaDescriptionList
from ._models import PagedServiceResourceDescriptionList
from ._models import PagedSubNameInfoList
from ._models import PagedUpdatePartitionLoadResultList
from ._models import PagedVolumeResourceDescriptionList
from ._models import PartitionAnalysisEvent
from ._models import PartitionBackupConfigurationInfo
Expand All @@ -829,6 +861,7 @@
from ._models import PartitionInformation
from ._models import PartitionInstanceCountScaleMechanism
from ._models import PartitionLoadInformation
from ._models import PartitionMetricLoadDescription
from ._models import PartitionNewHealthReportEvent
from ._models import PartitionPrimaryMoveAnalysisEvent
from ._models import PartitionQuorumLossProgress
Expand Down Expand Up @@ -877,6 +910,8 @@
from ._models import ReplicaHealthStateChunkList
from ._models import ReplicaHealthStateFilter
from ._models import ReplicaInfo
from ._models import ReplicaLifecycleDescription
from ._models import ReplicaMetricLoadDescription
from ._models import ReplicasHealthEvaluation
from ._models import ReplicaStatusBase
from ._models import ReplicatorQueueStatus
Expand Down Expand Up @@ -933,6 +968,7 @@
from ._models import ServiceNameInfo
from ._models import ServiceNewHealthReportEvent
from ._models import ServicePartitionInfo
from ._models import ServicePlacementAllowMultipleStatelessInstancesOnNodePolicyDescription
from ._models import ServicePlacementInvalidDomainPolicyDescription
from ._models import ServicePlacementNonPartiallyPlaceServicePolicyDescription
from ._models import ServicePlacementPolicyDescription
Expand Down Expand Up @@ -991,7 +1027,9 @@
from ._models import UnprovisionApplicationTypeDescriptionInfo
from ._models import UnprovisionFabricDescription
from ._models import UpdateClusterUpgradeDescription
from ._models import UpdatePartitionLoadResult
from ._models import UpgradeDomainDeltaNodesCheckHealthEvaluation
from ._models import UpgradeDomainDeployedApplicationsHealthEvaluation
from ._models import UpgradeDomainInfo
from ._models import UpgradeDomainNodesHealthEvaluation
from ._models import UpgradeOrchestrationServiceState
Expand Down Expand Up @@ -1057,6 +1095,7 @@
HostType,
ImageRegistryPasswordType,
ImpactLevel,
ManagedIdentityType,
MoveCost,
NetworkKind,
NodeDeactivationIntent,
Expand All @@ -1069,6 +1108,7 @@
OperatingSystemType,
OperationState,
OperationType,
Ordering,
PackageSharingPolicyScope,
PartitionAccessStatus,
PartitionScheme,
Expand Down Expand Up @@ -1141,6 +1181,7 @@
'ApplicationHealthPolicies',
'ApplicationHealthPolicy',
'ApplicationHealthPolicyMapItem',
'ApplicationHealthPolicyMapObject',
'ApplicationHealthReportExpiredEvent',
'ApplicationHealthState',
'ApplicationHealthStateChunk',
Expand All @@ -1165,6 +1206,7 @@
'ApplicationTypeImageStorePath',
'ApplicationTypeInfo',
'ApplicationTypeManifest',
'ApplicationUpdateDescription',
'ApplicationUpgradeCompletedEvent',
'ApplicationUpgradeDescription',
'ApplicationUpgradeDomainCompletedEvent',
Expand Down Expand Up @@ -1296,6 +1338,7 @@
'DisableBackupDescription',
'DiskInfo',
'DoublePropertyValue',
'DsmsAzureBlobBackupStorageDescription',
'EnableBackupDescription',
'EndpointProperties',
'EndpointRef',
Expand Down Expand Up @@ -1350,17 +1393,23 @@
'ImageStoreCopyDescription',
'ImageStoreInfo',
'InlinedValueSecretResourceProperties',
'InstanceLifecycleDescription',
'Int64PropertyValue',
'Int64RangePartitionInformation',
'InvokeDataLossResult',
'InvokeQuorumLossResult',
'KeyValueStoreReplicaStatus',
'LoadedPartitionInformationQueryDescription',
'LoadedPartitionInformationResult',
'LoadedPartitionInformationResultList',
'LoadMetricInformation',
'LoadMetricReport',
'LoadMetricReportInfo',
'LocalNetworkResourceProperties',
'ManagedApplicationIdentity',
'ManagedApplicationIdentityDescription',
'ManagedIdentityAzureBlobBackupStorageDescription',
'MetricLoadDescription',
'MonitoringPolicyDescription',
'NameDescription',
'NamedPartitionInformation',
Expand Down Expand Up @@ -1399,8 +1448,11 @@
'NodeRepairTargetDescription',
'NodeResult',
'NodesHealthEvaluation',
'NodeTagsDescription',
'NodeTransitionProgress',
'NodeTransitionResult',
'NodeTypeHealthPolicyMapItem',
'NodeTypeNodesHealthEvaluation',
'NodeUpEvent',
'NodeUpgradeProgressInfo',
'OperationStatus',
Expand All @@ -1426,6 +1478,7 @@
'PagedServiceReplicaDescriptionList',
'PagedServiceResourceDescriptionList',
'PagedSubNameInfoList',
'PagedUpdatePartitionLoadResultList',
'PagedVolumeResourceDescriptionList',
'PartitionAnalysisEvent',
'PartitionBackupConfigurationInfo',
Expand All @@ -1442,6 +1495,7 @@
'PartitionInformation',
'PartitionInstanceCountScaleMechanism',
'PartitionLoadInformation',
'PartitionMetricLoadDescription',
'PartitionNewHealthReportEvent',
'PartitionPrimaryMoveAnalysisEvent',
'PartitionQuorumLossProgress',
Expand Down Expand Up @@ -1490,6 +1544,8 @@
'ReplicaHealthStateChunkList',
'ReplicaHealthStateFilter',
'ReplicaInfo',
'ReplicaLifecycleDescription',
'ReplicaMetricLoadDescription',
'ReplicasHealthEvaluation',
'ReplicaStatusBase',
'ReplicatorQueueStatus',
Expand Down Expand Up @@ -1546,6 +1602,7 @@
'ServiceNameInfo',
'ServiceNewHealthReportEvent',
'ServicePartitionInfo',
'ServicePlacementAllowMultipleStatelessInstancesOnNodePolicyDescription',
'ServicePlacementInvalidDomainPolicyDescription',
'ServicePlacementNonPartiallyPlaceServicePolicyDescription',
'ServicePlacementPolicyDescription',
Expand Down Expand Up @@ -1604,7 +1661,9 @@
'UnprovisionApplicationTypeDescriptionInfo',
'UnprovisionFabricDescription',
'UpdateClusterUpgradeDescription',
'UpdatePartitionLoadResult',
'UpgradeDomainDeltaNodesCheckHealthEvaluation',
'UpgradeDomainDeployedApplicationsHealthEvaluation',
'UpgradeDomainInfo',
'UpgradeDomainNodesHealthEvaluation',
'UpgradeOrchestrationServiceState',
Expand Down Expand Up @@ -1646,6 +1705,7 @@
'EntityKind',
'FabricEventKind',
'HealthEvaluationKind',
'Ordering',
'NodeDeactivationIntent',
'NodeDeactivationStatus',
'NodeDeactivationTaskType',
Expand Down Expand Up @@ -1693,6 +1753,7 @@
'BackupSuspensionScope',
'RestoreState',
'BackupType',
'ManagedIdentityType',
'BackupScheduleFrequencyType',
'DayOfWeek',
'BackupState',
Expand Down
Loading

0 comments on commit 9f6ca4f

Please sign in to comment.