Class: Azure::KeyVault::V7_0_preview::Models::SasDefinitionBundle

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb

Overview

A SAS definition bundle consists of key vault SAS definition details plus its attributes.

Direct Known Subclasses

DeletedSasDefinitionBundle

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attributesSasDefinitionAttributes



36
37
38
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 36

def attributes
  @attributes
end

#idString



17
18
19
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 17

def id
  @id
end

#sas_typeSasTokenType

create. Possible values include: ‘account’, ‘service’



29
30
31
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 29

def sas_type
  @sas_type
end

#secret_idString



20
21
22
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 20

def secret_id
  @secret_id
end

#tagsHash{String => String}

form of key-value pairs



40
41
42
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 40

def tags
  @tags
end

#template_uriString

arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.



25
26
27
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 25

def template_uri
  @template_uri
end

#validity_periodString

the SAS definition.



33
34
35
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 33

def validity_period
  @validity_period
end

Class Method Details

.mapperObject

Mapper for SasDefinitionBundle class as Ruby Hash. This will be used for serialization/deserialization.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_bundle.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SasDefinitionBundle',
    type: {
      name: 'Composite',
      class_name: 'SasDefinitionBundle',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        secret_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sid',
          type: {
            name: 'String'
          }
        },
        template_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'templateUri',
          type: {
            name: 'String'
          }
        },
        sas_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sasType',
          type: {
            name: 'String'
          }
        },
        validity_period: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'validityPeriod',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SasDefinitionAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end