Class: Azure::Security::Mgmt::V2020_01_01_preview::Models::AwsCredsAuthenticationDetailsProperties
- Inherits:
-
AuthenticationDetailsProperties
- Object
- AuthenticationDetailsProperties
- Azure::Security::Mgmt::V2020_01_01_preview::Models::AwsCredsAuthenticationDetailsProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb
Overview
AWS cloud account connector based credentials, the credentials is composed of access key ID and secret key, for more details, refer to <a href=“docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html”>Creating an IAM User in Your AWS Account (write only)</a>
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the cloud account.
-
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
-
#aws_access_key_id ⇒ String
only).
-
#aws_secret_access_key ⇒ String
only).
Attributes inherited from AuthenticationDetailsProperties
#authentication_provisioning_state, #granted_permissions
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AwsCredsAuthenticationDetailsProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AwsCredsAuthenticationDetailsProperties
constructor
A new instance of AwsCredsAuthenticationDetailsProperties.
Constructor Details
#initialize ⇒ AwsCredsAuthenticationDetailsProperties
19 20 21 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 19 def initialize @authenticationType = "awsCreds" end |
Instance Attribute Details
#account_id ⇒ String
26 27 28 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 26 def account_id @account_id end |
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
23 24 25 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 23 def authenticationType @authenticationType end |
#aws_access_key_id ⇒ String
only)
30 31 32 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 30 def aws_access_key_id @aws_access_key_id end |
#aws_secret_access_key ⇒ String
only)
34 35 36 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 34 def aws_secret_access_key @aws_secret_access_key end |
Class Method Details
.mapper ⇒ Object
Mapper for AwsCredsAuthenticationDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 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 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'awsCreds', type: { name: 'Composite', class_name: 'AwsCredsAuthenticationDetailsProperties', model_properties: { authentication_provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'authenticationProvisioningState', type: { name: 'String' } }, granted_permissions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'grantedPermissions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PermissionPropertyElementType', type: { name: 'String' } } } }, authenticationType: { client_side_validation: true, required: true, serialized_name: 'authenticationType', type: { name: 'String' } }, account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'accountId', type: { name: 'String' } }, aws_access_key_id: { client_side_validation: true, required: true, serialized_name: 'awsAccessKeyId', type: { name: 'String' } }, aws_secret_access_key: { client_side_validation: true, required: true, serialized_name: 'awsSecretAccessKey', type: { name: 'String' } } } } } end |