How to use the azure-mgmt-containerservice.azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedClusterServicePrincipalProfile 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_08_01_preview / operations / managed_clusters_operations.py View on Github external
def _reset_service_principal_profile_initial(
            self, resource_group_name, resource_name, client_id, secret=None, custom_headers=None, raw=False, **operation_config):
        parameters = models.ManagedClusterServicePrincipalProfile(client_id=client_id, secret=secret)

        # Construct URL
        url = self.reset_service_principal_profile.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 18 days ago

Package Health Score

96 / 100
Full package analysis

Popular azure-mgmt-containerservice functions

Similar packages