azure_mgmt_attestation 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation.rb +40 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/attestation_management_client.rb +135 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/attestation_providers.rb +525 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/attestation_provider.rb +85 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/attestation_provider_list_result.rb +55 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/attestation_service_creation_params.rb +46 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/attestation_service_status.rb +17 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/azure_entity_resource.rb +75 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/operation_list.rb +55 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/operations_definition.rb +59 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/operations_display_definition.rb +79 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/proxy_resource.rb +63 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/resource.rb +83 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/tracked_resource.rb +92 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/module_definition.rb +9 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/operations.rb +110 -0
- data/lib/azure_mgmt_attestation.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/attestation_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/attestation_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/attestation_profile_module.rb +107 -0
- data/lib/version.rb +7 -0
- metadata +140 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Attestation service response message.
|
10
|
+
#
|
11
|
+
class AttestationProvider < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AttestationServiceStatus] Status of attestation service.
|
16
|
+
# Possible values include: 'Ready', 'NotReady', 'Error'
|
17
|
+
attr_accessor :status
|
18
|
+
|
19
|
+
# @return [String] Gets the uri of attestation service
|
20
|
+
attr_accessor :attest_uri
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for AttestationProvider class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'AttestationProvider',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'AttestationProvider',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'id',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
name: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'name',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
type: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'type',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
status: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'properties.status',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
attest_uri: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'properties.attestUri',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Attestation Providers List.
|
10
|
+
#
|
11
|
+
class AttestationProviderListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<AttestationProvider>] Attestation Provider array.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for AttestationProviderListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AttestationProviderListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AttestationProviderListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'AttestationProviderElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'AttestationProvider'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Client supplied parameters passed to attestation service.
|
10
|
+
#
|
11
|
+
class AttestationServiceCreationParams
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of attestation policy.
|
16
|
+
attr_accessor :attestation_policy
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for AttestationServiceCreationParams class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AttestationServiceCreationParams',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AttestationServiceCreationParams',
|
31
|
+
model_properties: {
|
32
|
+
attestation_policy: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'attestationPolicy',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/attestation_service_status.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AttestationServiceStatus
|
10
|
+
#
|
11
|
+
module AttestationServiceStatus
|
12
|
+
Ready = "Ready"
|
13
|
+
NotReady = "NotReady"
|
14
|
+
Error = "Error"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a Azure Resource Manager resource with
|
10
|
+
# an etag.
|
11
|
+
#
|
12
|
+
class AzureEntityResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource Etag.
|
17
|
+
attr_accessor :etag
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AzureEntityResource class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'AzureEntityResource',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AzureEntityResource',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'type',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
etag: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'etag',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of supported operations.
|
10
|
+
#
|
11
|
+
class OperationList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<OperationsDefinition>] List of supported operations.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for OperationList class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'OperationList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'OperationList',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'OperationsDefinitionElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'OperationsDefinition'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Definition object with the name and properties of an operation.
|
10
|
+
#
|
11
|
+
class OperationsDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the operation.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationsDisplayDefinition] Display object with properties of
|
19
|
+
# the operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for OperationsDefinition class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'OperationsDefinition',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'OperationsDefinition',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
display: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'display',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'OperationsDisplayDefinition'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
data/lib/2018-09-01-preview/generated/azure_mgmt_attestation/models/operations_display_definition.rb
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Attestation::Mgmt::V2018_09_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Display object with properties of the operation.
|
10
|
+
#
|
11
|
+
class OperationsDisplayDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource provider of the operation.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource for the operation.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Short description of the operation.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Description of the operation.
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationsDisplayDefinition class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'OperationsDisplayDefinition',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationsDisplayDefinition',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|