Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::AzureMetadata.
Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#management_groups
def management_groups() -> ::Array<::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureManagementGroup>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureManagementGroup>) — A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
#management_groups=
def management_groups=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureManagementGroup>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureManagementGroup>) — A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureManagementGroup>) — A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.
#resource_group
def resource_group() -> ::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureResourceGroup
Returns
- (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureResourceGroup) — The Azure resource group associated with the resource.
#resource_group=
def resource_group=(value) -> ::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureResourceGroup
Parameter
- value (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureResourceGroup) — The Azure resource group associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureResourceGroup) — The Azure resource group associated with the resource.
#subscription
def subscription() -> ::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureSubscription
Returns
- (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureSubscription) — The Azure subscription associated with the resource.
#subscription=
def subscription=(value) -> ::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureSubscription
Parameter
- value (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureSubscription) — The Azure subscription associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V2::AzureMetadata::AzureSubscription) — The Azure subscription associated with the resource.