Class: Azure::ARM::SQL::Models::DatabaseBlobAuditingPolicy
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::DatabaseBlobAuditingPolicy
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb
Overview
A database blob auditing policy.
Instance Attribute Summary collapse
-
#audit_actions_and_groups ⇒ Array<String>
audit.
-
#is_storage_secondary_key_in_use ⇒ Boolean
the storage’s secondary key.
-
#kind ⇒ String
Resource kind.
-
#retention_days ⇒ Integer
logs.
-
#state ⇒ BlobAuditingPolicyState
state is Enabled, storageEndpoint and storageAccountAccessKey are required.
-
#storage_account_access_key ⇒ String
account.
-
#storage_account_subscription_id ⇒ Object
Specifies the blob storage subscription Id.
- #storage_endpoint ⇒ String
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatabaseBlobAuditingPolicy class as Ruby Hash.
Instance Attribute Details
#audit_actions_and_groups ⇒ Array<String>
audit.
39 40 41 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 39 def audit_actions_and_groups @audit_actions_and_groups end |
#is_storage_secondary_key_in_use ⇒ Boolean
the storage’s secondary key.
46 47 48 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 46 def is_storage_secondary_key_in_use @is_storage_secondary_key_in_use end |
#kind ⇒ String
Returns Resource kind.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 17 def kind @kind end |
#retention_days ⇒ Integer
logs.
35 36 37 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 35 def retention_days @retention_days end |
#state ⇒ BlobAuditingPolicyState
state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: ‘Enabled’, ‘Disabled’
22 23 24 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 22 def state @state end |
#storage_account_access_key ⇒ String
account. If state is Enabled, storageAccountAccessKey is required.
31 32 33 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 31 def storage_account_access_key @storage_account_access_key end |
#storage_account_subscription_id ⇒ Object
Returns Specifies the blob storage subscription Id.
42 43 44 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 42 def storage_account_subscription_id @storage_account_subscription_id end |
#storage_endpoint ⇒ String
MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint is required.
27 28 29 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 27 def storage_endpoint @storage_endpoint end |
Class Method Details
.mapper ⇒ Object
Mapper for DatabaseBlobAuditingPolicy class as Ruby Hash. This will be used for serialization/deserialization.
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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb', line 53 def self.mapper() { required: false, serialized_name: 'DatabaseBlobAuditingPolicy', type: { name: 'Composite', class_name: 'DatabaseBlobAuditingPolicy', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } }, state: { required: true, serialized_name: 'properties.state', type: { name: 'Enum', module: 'BlobAuditingPolicyState' } }, storage_endpoint: { required: false, serialized_name: 'properties.storageEndpoint', type: { name: 'String' } }, storage_account_access_key: { required: false, serialized_name: 'properties.storageAccountAccessKey', type: { name: 'String' } }, retention_days: { required: false, serialized_name: 'properties.retentionDays', type: { name: 'Number' } }, audit_actions_and_groups: { required: false, serialized_name: 'properties.auditActionsAndGroups', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, storage_account_subscription_id: { required: false, serialized_name: 'properties.storageAccountSubscriptionId', type: { name: 'String' } }, is_storage_secondary_key_in_use: { required: false, serialized_name: 'properties.isStorageSecondaryKeyInUse', type: { name: 'Boolean' } } } } } end |