Skip to content
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
2 changes: 1 addition & 1 deletion sdk/azurearcdata/azure-mgmt-azurearcdata/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "e23a590abc2f98437bafac9da5ccd608b2981a45",
"commit": "8ba090c2ac4bbc3de3d7373833a8a0127e4e745f",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/azurearcdata/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] --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/azurearcdata/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-08-01"
self.api_version = "2021-11-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-azurearcdata/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-08-01",
"total_api_version_list": ["2021-08-01"],
"chosen_version": "2021-11-01",
"total_api_version_list": ["2021-11-01"],
"client": {
"name": "AzureArcDataManagementClient",
"filename": "_azure_arc_data_management_client",
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.0b1"
VERSION = "1.1.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-08-01"
self.api_version = "2021-11-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-azurearcdata/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def list_in_subscription(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -133,7 +133,7 @@ def list_in_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -197,7 +197,7 @@ async def _put_data_controller_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -133,7 +133,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -207,7 +207,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -133,7 +133,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -207,7 +207,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,21 @@ class DataControllerProperties(msrest.serialization.Model):
:param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date
time.
:type last_uploaded_date: ~datetime.datetime
:param basic_login_information: Username and password for basic login authentication.
:param basic_login_information: Deprecated. Azure Arc Data Services data controller no longer
expose any endpoint. All traffic are exposed through Kubernetes native API.
:type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation
:param metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes
cluster.
:type metrics_dashboard_credential:
~azure_arc_data_management_client.models.BasicLoginInformation
:param logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes
cluster.
:type logs_dashboard_credential: ~azure_arc_data_management_client.models.BasicLoginInformation
:param log_analytics_workspace_config: Log analytics workspace id and primary key.
:type log_analytics_workspace_config:
~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig
:param upload_service_principal: Service principal for uploading billing, metrics and logs.
:param upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc
Kubernetes service extension managed identity.
:type upload_service_principal: ~azure_arc_data_management_client.models.UploadServicePrincipal
:ivar provisioning_state:
:vartype provisioning_state: str
Expand All @@ -124,6 +133,8 @@ class DataControllerProperties(msrest.serialization.Model):
'upload_watermark': {'key': 'uploadWatermark', 'type': 'UploadWatermark'},
'last_uploaded_date': {'key': 'lastUploadedDate', 'type': 'iso-8601'},
'basic_login_information': {'key': 'basicLoginInformation', 'type': 'BasicLoginInformation'},
'metrics_dashboard_credential': {'key': 'metricsDashboardCredential', 'type': 'BasicLoginInformation'},
'logs_dashboard_credential': {'key': 'logsDashboardCredential', 'type': 'BasicLoginInformation'},
'log_analytics_workspace_config': {'key': 'logAnalyticsWorkspaceConfig', 'type': 'LogAnalyticsWorkspaceConfig'},
'upload_service_principal': {'key': 'uploadServicePrincipal', 'type': 'UploadServicePrincipal'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
Expand All @@ -142,6 +153,8 @@ def __init__(
self.upload_watermark = kwargs.get('upload_watermark', None)
self.last_uploaded_date = kwargs.get('last_uploaded_date', None)
self.basic_login_information = kwargs.get('basic_login_information', None)
self.metrics_dashboard_credential = kwargs.get('metrics_dashboard_credential', None)
self.logs_dashboard_credential = kwargs.get('logs_dashboard_credential', None)
self.log_analytics_workspace_config = kwargs.get('log_analytics_workspace_config', None)
self.upload_service_principal = kwargs.get('upload_service_principal', None)
self.provisioning_state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,21 @@ class DataControllerProperties(msrest.serialization.Model):
:param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date
time.
:type last_uploaded_date: ~datetime.datetime
:param basic_login_information: Username and password for basic login authentication.
:param basic_login_information: Deprecated. Azure Arc Data Services data controller no longer
expose any endpoint. All traffic are exposed through Kubernetes native API.
:type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation
:param metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes
cluster.
:type metrics_dashboard_credential:
~azure_arc_data_management_client.models.BasicLoginInformation
:param logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes
cluster.
:type logs_dashboard_credential: ~azure_arc_data_management_client.models.BasicLoginInformation
:param log_analytics_workspace_config: Log analytics workspace id and primary key.
:type log_analytics_workspace_config:
~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig
:param upload_service_principal: Service principal for uploading billing, metrics and logs.
:param upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc
Kubernetes service extension managed identity.
:type upload_service_principal: ~azure_arc_data_management_client.models.UploadServicePrincipal
:ivar provisioning_state:
:vartype provisioning_state: str
Expand All @@ -138,6 +147,8 @@ class DataControllerProperties(msrest.serialization.Model):
'upload_watermark': {'key': 'uploadWatermark', 'type': 'UploadWatermark'},
'last_uploaded_date': {'key': 'lastUploadedDate', 'type': 'iso-8601'},
'basic_login_information': {'key': 'basicLoginInformation', 'type': 'BasicLoginInformation'},
'metrics_dashboard_credential': {'key': 'metricsDashboardCredential', 'type': 'BasicLoginInformation'},
'logs_dashboard_credential': {'key': 'logsDashboardCredential', 'type': 'BasicLoginInformation'},
'log_analytics_workspace_config': {'key': 'logAnalyticsWorkspaceConfig', 'type': 'LogAnalyticsWorkspaceConfig'},
'upload_service_principal': {'key': 'uploadServicePrincipal', 'type': 'UploadServicePrincipal'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
Expand All @@ -154,6 +165,8 @@ def __init__(
upload_watermark: Optional["UploadWatermark"] = None,
last_uploaded_date: Optional[datetime.datetime] = None,
basic_login_information: Optional["BasicLoginInformation"] = None,
metrics_dashboard_credential: Optional["BasicLoginInformation"] = None,
logs_dashboard_credential: Optional["BasicLoginInformation"] = None,
log_analytics_workspace_config: Optional["LogAnalyticsWorkspaceConfig"] = None,
upload_service_principal: Optional["UploadServicePrincipal"] = None,
cluster_id: Optional[str] = None,
Expand All @@ -167,6 +180,8 @@ def __init__(
self.upload_watermark = upload_watermark
self.last_uploaded_date = last_uploaded_date
self.basic_login_information = basic_login_information
self.metrics_dashboard_credential = metrics_dashboard_credential
self.logs_dashboard_credential = logs_dashboard_credential
self.log_analytics_workspace_config = log_analytics_workspace_config
self.upload_service_principal = upload_service_principal
self.provisioning_state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def list_in_subscription(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -139,7 +139,7 @@ def list_in_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -204,7 +204,7 @@ def _put_data_controller_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -334,7 +334,7 @@ def _delete_data_controller_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -456,7 +456,7 @@ def get_data_controller(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -519,7 +519,7 @@ def patch_data_controller(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-08-01"
api_version = "2021-11-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Loading