1# coding=utf-8 2# -------------------------------------------------------------------------- 3# Copyright (c) Microsoft Corporation. All rights reserved. 4# Licensed under the MIT License. See License.txt in the project root for 5# license information. 6# 7# Code generated by Microsoft (R) AutoRest Code Generator. 8# Changes may cause incorrect behavior and will be lost if the code is 9# regenerated. 10# -------------------------------------------------------------------------- 11 12from msrest.serialization import Model 13 14 15class SasDefinitionBundle(Model): 16 """A SAS definition bundle consists of key vault SAS definition details plus 17 its attributes. 18 19 Variables are only populated by the server, and will be ignored when 20 sending a request. 21 22 :ivar id: The SAS definition id. 23 :vartype id: str 24 :ivar secret_id: Storage account SAS definition secret id. 25 :vartype secret_id: str 26 :ivar parameters: The SAS definition metadata in the form of key-value 27 pairs. 28 :vartype parameters: dict[str, str] 29 :ivar attributes: The SAS definition attributes. 30 :vartype attributes: 31 ~azure.keyvault.v2016_10_01.models.SasDefinitionAttributes 32 :ivar tags: Application specific metadata in the form of key-value pairs 33 :vartype tags: dict[str, str] 34 """ 35 36 _validation = { 37 'id': {'readonly': True}, 38 'secret_id': {'readonly': True}, 39 'parameters': {'readonly': True}, 40 'attributes': {'readonly': True}, 41 'tags': {'readonly': True}, 42 } 43 44 _attribute_map = { 45 'id': {'key': 'id', 'type': 'str'}, 46 'secret_id': {'key': 'sid', 'type': 'str'}, 47 'parameters': {'key': 'parameters', 'type': '{str}'}, 48 'attributes': {'key': 'attributes', 'type': 'SasDefinitionAttributes'}, 49 'tags': {'key': 'tags', 'type': '{str}'}, 50 } 51 52 def __init__(self, **kwargs) -> None: 53 super(SasDefinitionBundle, self).__init__(**kwargs) 54 self.id = None 55 self.secret_id = None 56 self.parameters = None 57 self.attributes = None 58 self.tags = None 59