Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-servicefabric] Update readme.python.md #19406

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/servicefabric/azure-mgmt-servicefabric/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].1",
"@autorest/[email protected]"
],
"commit": "6bab06211537f8f0b462661871b806de8be26521",
"commit": "52b1c1b978341a3905075dc0cdd2189ac795faf8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicefabric/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected] --version=3.4.2",
"autorest_command": "autorest specification/servicefabric/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected] --version=3.4.2",
"readme": "specification/servicefabric/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicefabric/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2020-01-01-preview", "2020-03-01"],
"chosen_version": "2021-06-01",
"total_api_version_list": ["2021-06-01"],
"client": {
"name": "ServiceFabricManagementClient",
"filename": "_service_fabric_management_client",
Expand Down Expand Up @@ -101,15 +101,9 @@
"clusters": "ClustersOperations",
"cluster_versions": "ClusterVersionsOperations",
"operations": "Operations",
"application": "ApplicationOperations",
"application_types": "ApplicationTypesOperations",
"application_type_versions": "ApplicationTypeVersionsOperations",
"applications": "ApplicationsOperations",
"services": "ServicesOperations",
"managed_clusters": "ManagedClustersOperations",
"managedcluster": "ManagedclusterOperations",
"managed_cluster_versions": "ManagedClusterVersionsOperations",
"nodetype": "NodetypeOperations",
"node_types": "NodeTypesOperations"
"services": "ServicesOperations"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,10 @@
from .operations import ClustersOperations
from .operations import ClusterVersionsOperations
from .operations import Operations
from .operations import ApplicationOperations
from .operations import ApplicationTypesOperations
from .operations import ApplicationTypeVersionsOperations
from .operations import ApplicationsOperations
from .operations import ServicesOperations
from .operations import ManagedClustersOperations
from .operations import ManagedclusterOperations
from .operations import ManagedClusterVersionsOperations
from .operations import NodetypeOperations
from .operations import NodeTypesOperations
from . import models


Expand All @@ -44,8 +38,6 @@ class ServiceFabricManagementClient(object):
:vartype cluster_versions: azure.mgmt.servicefabric.operations.ClusterVersionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.servicefabric.operations.Operations
:ivar application: ApplicationOperations operations
:vartype application: azure.mgmt.servicefabric.operations.ApplicationOperations
:ivar application_types: ApplicationTypesOperations operations
:vartype application_types: azure.mgmt.servicefabric.operations.ApplicationTypesOperations
:ivar application_type_versions: ApplicationTypeVersionsOperations operations
Expand All @@ -54,16 +46,6 @@ class ServiceFabricManagementClient(object):
:vartype applications: azure.mgmt.servicefabric.operations.ApplicationsOperations
:ivar services: ServicesOperations operations
:vartype services: azure.mgmt.servicefabric.operations.ServicesOperations
:ivar managed_clusters: ManagedClustersOperations operations
:vartype managed_clusters: azure.mgmt.servicefabric.operations.ManagedClustersOperations
:ivar managedcluster: ManagedclusterOperations operations
:vartype managedcluster: azure.mgmt.servicefabric.operations.ManagedclusterOperations
:ivar managed_cluster_versions: ManagedClusterVersionsOperations operations
:vartype managed_cluster_versions: azure.mgmt.servicefabric.operations.ManagedClusterVersionsOperations
:ivar nodetype: NodetypeOperations operations
:vartype nodetype: azure.mgmt.servicefabric.operations.NodetypeOperations
:ivar node_types: NodeTypesOperations operations
:vartype node_types: azure.mgmt.servicefabric.operations.NodeTypesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The customer subscription identifier.
Expand Down Expand Up @@ -96,8 +78,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.application = ApplicationOperations(
self._client, self._config, self._serialize, self._deserialize)
self.application_types = ApplicationTypesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.application_type_versions = ApplicationTypeVersionsOperations(
Expand All @@ -106,16 +86,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.services = ServicesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_clusters = ManagedClustersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managedcluster = ManagedclusterOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_cluster_versions = ManagedClusterVersionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.nodetype = NodetypeOperations(
self._client, self._config, self._serialize, self._deserialize)
self.node_types = NodeTypesOperations(
self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, http_request, **kwargs):
# type: (HttpRequest, Any) -> HttpResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicefabric/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,10 @@
from .operations import ClustersOperations
from .operations import ClusterVersionsOperations
from .operations import Operations
from .operations import ApplicationOperations
from .operations import ApplicationTypesOperations
from .operations import ApplicationTypeVersionsOperations
from .operations import ApplicationsOperations
from .operations import ServicesOperations
from .operations import ManagedClustersOperations
from .operations import ManagedclusterOperations
from .operations import ManagedClusterVersionsOperations
from .operations import NodetypeOperations
from .operations import NodeTypesOperations
from .. import models


Expand All @@ -42,8 +36,6 @@ class ServiceFabricManagementClient(object):
:vartype cluster_versions: azure.mgmt.servicefabric.aio.operations.ClusterVersionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.servicefabric.aio.operations.Operations
:ivar application: ApplicationOperations operations
:vartype application: azure.mgmt.servicefabric.aio.operations.ApplicationOperations
:ivar application_types: ApplicationTypesOperations operations
:vartype application_types: azure.mgmt.servicefabric.aio.operations.ApplicationTypesOperations
:ivar application_type_versions: ApplicationTypeVersionsOperations operations
Expand All @@ -52,16 +44,6 @@ class ServiceFabricManagementClient(object):
:vartype applications: azure.mgmt.servicefabric.aio.operations.ApplicationsOperations
:ivar services: ServicesOperations operations
:vartype services: azure.mgmt.servicefabric.aio.operations.ServicesOperations
:ivar managed_clusters: ManagedClustersOperations operations
:vartype managed_clusters: azure.mgmt.servicefabric.aio.operations.ManagedClustersOperations
:ivar managedcluster: ManagedclusterOperations operations
:vartype managedcluster: azure.mgmt.servicefabric.aio.operations.ManagedclusterOperations
:ivar managed_cluster_versions: ManagedClusterVersionsOperations operations
:vartype managed_cluster_versions: azure.mgmt.servicefabric.aio.operations.ManagedClusterVersionsOperations
:ivar nodetype: NodetypeOperations operations
:vartype nodetype: azure.mgmt.servicefabric.aio.operations.NodetypeOperations
:ivar node_types: NodeTypesOperations operations
:vartype node_types: azure.mgmt.servicefabric.aio.operations.NodeTypesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The customer subscription identifier.
Expand Down Expand Up @@ -93,8 +75,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.application = ApplicationOperations(
self._client, self._config, self._serialize, self._deserialize)
self.application_types = ApplicationTypesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.application_type_versions = ApplicationTypeVersionsOperations(
Expand All @@ -103,16 +83,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.services = ServicesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_clusters = ManagedClustersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managedcluster = ManagedclusterOperations(
self._client, self._config, self._serialize, self._deserialize)
self.managed_cluster_versions = ManagedClusterVersionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.nodetype = NodetypeOperations(
self._client, self._config, self._serialize, self._deserialize)
self.node_types = NodeTypesOperations(
self._client, self._config, self._serialize, self._deserialize)

async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,17 @@
from ._clusters_operations import ClustersOperations
from ._cluster_versions_operations import ClusterVersionsOperations
from ._operations import Operations
from ._application_operations import ApplicationOperations
from ._application_types_operations import ApplicationTypesOperations
from ._application_type_versions_operations import ApplicationTypeVersionsOperations
from ._applications_operations import ApplicationsOperations
from ._services_operations import ServicesOperations
from ._managed_clusters_operations import ManagedClustersOperations
from ._managedcluster_operations import ManagedclusterOperations
from ._managed_cluster_versions_operations import ManagedClusterVersionsOperations
from ._nodetype_operations import NodetypeOperations
from ._node_types_operations import NodeTypesOperations

__all__ = [
'ClustersOperations',
'ClusterVersionsOperations',
'Operations',
'ApplicationOperations',
'ApplicationTypesOperations',
'ApplicationTypeVersionsOperations',
'ApplicationsOperations',
'ServicesOperations',
'ManagedClustersOperations',
'ManagedclusterOperations',
'ManagedClusterVersionsOperations',
'NodetypeOperations',
'NodeTypesOperations',
]

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-03-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -126,7 +126,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-03-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -266,7 +266,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-03-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -406,7 +406,7 @@ async def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2020-03-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down
Loading