How to use the azure-mgmt-containerservice.azure.mgmt.containerservice.v2018_03_31.models.TagsObject function in azure-mgmt-containerservice

To help you get started, we’ve selected a few azure-mgmt-containerservice examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-mgmt-containerservice / azure / mgmt / containerservice / v2018_03_31 / operations / managed_clusters_operations.py View on Github external
def _update_tags_initial(
            self, resource_group_name, resource_name, tags=None, custom_headers=None, raw=False, **operation_config):
        parameters = models.TagsObject(tags=tags)

        # Construct URL
        url = self.update_tags.metadata['url']
        path_format_arguments = {
            'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
            'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
            'resourceName': self._serialize.url("resource_name", resource_name, 'str')
        }
        url = self._client.format_url(url, **path_format_arguments)

        # Construct parameters
        query_parameters = {}
        query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')

        # Construct headers
        header_parameters = {}

azure-mgmt-containerservice

Microsoft Azure Container Service Management Client Library for Python

MIT
Latest version published 12 days ago

Package Health Score

96 / 100
Full package analysis

Popular azure-mgmt-containerservice functions

Similar packages