azure.mgmt.resource.policy.v2015_10_01_preview package

Module contents

class azure.mgmt.resource.policy.v2015_10_01_preview.PolicyClient(credentials, subscription_id, base_url=None)[source]

Bases: msrest.service_client.SDKClient

To manage and control access to your resources, you can define customized policies and assign them at a scope.

Variables
Parameters
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.

  • subscription_id (str) – The ID of the target subscription.

  • base_url (str) – Service URL

class azure.mgmt.resource.policy.v2015_10_01_preview.PolicyClientConfiguration(credentials, subscription_id, base_url=None)[source]

Bases: msrestazure.azure_configuration.AzureConfiguration

Configuration for PolicyClient Note that all parameters used to create this instance are saved as instance attributes.

Parameters
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.

  • subscription_id (str) – The ID of the target subscription.

  • base_url (str) – Service URL