azure-native.databasewatcher.SharedPrivateLinkResource
Explore with Pulumi AI
Concrete proxy resource types can be created by aliasing this type using a specific property type.
Uses Azure REST API version 2023-09-01-preview.
Other available API versions: 2024-07-19-preview, 2024-10-01-preview, 2025-01-02.
Create SharedPrivateLinkResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SharedPrivateLinkResource(name: string, args: SharedPrivateLinkResourceArgs, opts?: CustomResourceOptions);
@overload
def SharedPrivateLinkResource(resource_name: str,
args: SharedPrivateLinkResourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SharedPrivateLinkResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
private_link_resource_id: Optional[str] = None,
request_message: Optional[str] = None,
resource_group_name: Optional[str] = None,
watcher_name: Optional[str] = None,
dns_zone: Optional[str] = None,
shared_private_link_resource_name: Optional[str] = None)
func NewSharedPrivateLinkResource(ctx *Context, name string, args SharedPrivateLinkResourceArgs, opts ...ResourceOption) (*SharedPrivateLinkResource, error)
public SharedPrivateLinkResource(string name, SharedPrivateLinkResourceArgs args, CustomResourceOptions? opts = null)
public SharedPrivateLinkResource(String name, SharedPrivateLinkResourceArgs args)
public SharedPrivateLinkResource(String name, SharedPrivateLinkResourceArgs args, CustomResourceOptions options)
type: azure-native:databasewatcher:SharedPrivateLinkResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. SharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SharedPrivateLinkResourceArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. SharedPrivateLinkResourceArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sharedPrivateLinkResourceResource = new AzureNative.DatabaseWatcher.SharedPrivateLinkResource("sharedPrivateLinkResourceResource", new()
{
GroupId = "string",
PrivateLinkResourceId = "string",
RequestMessage = "string",
ResourceGroupName = "string",
WatcherName = "string",
DnsZone = "string",
SharedPrivateLinkResourceName = "string",
});
example, err := databasewatcher.NewSharedPrivateLinkResource(ctx, "sharedPrivateLinkResourceResource", &databasewatcher.SharedPrivateLinkResourceArgs{
GroupId: pulumi.String("string"),
PrivateLinkResourceId: pulumi.String("string"),
RequestMessage: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
WatcherName: pulumi.String("string"),
DnsZone: pulumi.String("string"),
SharedPrivateLinkResourceName: pulumi.String("string"),
})
var sharedPrivateLinkResourceResource = new SharedPrivateLinkResource("sharedPrivateLinkResourceResource", SharedPrivateLinkResourceArgs.builder()
.groupId("string")
.privateLinkResourceId("string")
.requestMessage("string")
.resourceGroupName("string")
.watcherName("string")
.dnsZone("string")
.sharedPrivateLinkResourceName("string")
.build());
shared_private_link_resource_resource = azure_native.databasewatcher.SharedPrivateLinkResource("sharedPrivateLinkResourceResource",
group_id="string",
private_link_resource_id="string",
request_message="string",
resource_group_name="string",
watcher_name="string",
dns_zone="string",
shared_private_link_resource_name="string")
const sharedPrivateLinkResourceResource = new azure_native.databasewatcher.SharedPrivateLinkResource("sharedPrivateLinkResourceResource", {
groupId: "string",
privateLinkResourceId: "string",
requestMessage: "string",
resourceGroupName: "string",
watcherName: "string",
dnsZone: "string",
sharedPrivateLinkResourceName: "string",
});
type: azure-native:databasewatcher:SharedPrivateLinkResource
properties:
dnsZone: string
groupId: string
privateLinkResourceId: string
requestMessage: string
resourceGroupName: string
sharedPrivateLinkResourceName: string
watcherName: string
SharedPrivateLinkResource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SharedPrivateLinkResource resource accepts the following input properties:
- Group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for.
- Private
Link Resource Id This property is required. string - The resource ID of the resource the shared private link resource is for.
- Request
Message This property is required. string - The request message for requesting approval of the shared private link resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Watcher
Name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- Dns
Zone string - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
- Group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for.
- Private
Link Resource Id This property is required. string - The resource ID of the resource the shared private link resource is for.
- Request
Message This property is required. string - The request message for requesting approval of the shared private link resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Watcher
Name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- Dns
Zone string - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
- group
Id This property is required. String - The group id from the provider of resource the shared private link resource is for.
- private
Link Resource Id This property is required. String - The resource ID of the resource the shared private link resource is for.
- request
Message This property is required. String - The request message for requesting approval of the shared private link resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- watcher
Name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- dns
Zone String - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
- group
Id This property is required. string - The group id from the provider of resource the shared private link resource is for.
- private
Link Resource Id This property is required. string - The resource ID of the resource the shared private link resource is for.
- request
Message This property is required. string - The request message for requesting approval of the shared private link resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- watcher
Name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- dns
Zone string - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
- group_
id This property is required. str - The group id from the provider of resource the shared private link resource is for.
- private_
link_ resource_ id This property is required. str - The resource ID of the resource the shared private link resource is for.
- request_
message This property is required. str - The request message for requesting approval of the shared private link resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- watcher_
name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- dns_
zone str - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
- group
Id This property is required. String - The group id from the provider of resource the shared private link resource is for.
- private
Link Resource Id This property is required. String - The resource ID of the resource the shared private link resource is for.
- request
Message This property is required. String - The request message for requesting approval of the shared private link resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- watcher
Name This property is required. Changes to this property will trigger replacement.
- The database watcher name.
- dns
Zone String - The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.
Changes to this property will trigger replacement.
- The Shared Private Link resource name.
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedPrivateLinkResource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- System
Data Pulumi.Azure Native. Database Watcher. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource.
- Status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- status String
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource.
- status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the resource.
- status str
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource.
- status String
- Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databasewatcher:SharedPrivateLinkResource monitoringh22eed /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0