Skip to main content

cloud_exadata_infrastructures

Creates, updates, deletes, gets or lists a cloud_exadata_infrastructures resource.

Overview

Namecloud_exadata_infrastructures
TypeResource
Idazure_isv.oracle.cloud_exadata_infrastructures

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.
zonesarrayCloudExadataInfrastructure zones

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, cloudexadatainfrastructurenameGet a CloudExadataInfrastructure
list_by_resource_groupselectsubscriptionId, resourceGroupNameList CloudExadataInfrastructure resources by resource group
list_by_subscriptionselectsubscriptionIdList CloudExadataInfrastructure resources by subscription ID
create_or_updateinsertsubscriptionId, resourceGroupName, cloudexadatainfrastructurename, data__zonesCreate a CloudExadataInfrastructure
updateupdatesubscriptionId, resourceGroupName, cloudexadatainfrastructurenameUpdate a CloudExadataInfrastructure
deletedeletesubscriptionId, resourceGroupName, cloudexadatainfrastructurenameDelete a CloudExadataInfrastructure
add_storage_capacityexecsubscriptionId, resourceGroupName, cloudexadatainfrastructurenamePerform add storage capacity on exadata infra

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cloudexadatainfrastructurenamestringCloudExadataInfrastructure name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get a CloudExadataInfrastructure

SELECT
location,
properties,
tags,
zones
FROM azure_isv.oracle.cloud_exadata_infrastructures
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudexadatainfrastructurename = '{{ cloudexadatainfrastructurename }}' -- required
;

INSERT examples

Create a CloudExadataInfrastructure

INSERT INTO azure_isv.oracle.cloud_exadata_infrastructures (
data__properties,
data__zones,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
cloudexadatainfrastructurename
)
SELECT
'{{ properties }}',
'{{ zones }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ cloudexadatainfrastructurename }}'
RETURNING
location,
properties,
tags,
zones
;

UPDATE examples

Update a CloudExadataInfrastructure

UPDATE azure_isv.oracle.cloud_exadata_infrastructures
SET
data__zones = '{{ zones }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND cloudexadatainfrastructurename = '{{ cloudexadatainfrastructurename }}' --required
RETURNING
location,
properties,
tags,
zones;

DELETE examples

Delete a CloudExadataInfrastructure

DELETE FROM azure_isv.oracle.cloud_exadata_infrastructures
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND cloudexadatainfrastructurename = '{{ cloudexadatainfrastructurename }}' --required
;

Lifecycle Methods

Perform add storage capacity on exadata infra

EXEC azure_isv.oracle.cloud_exadata_infrastructures.add_storage_capacity 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@cloudexadatainfrastructurename='{{ cloudexadatainfrastructurename }}' --required
;