We recommend using Azure Native.
azure.mysql.FlexibleServerActiveDirectoryAdministratory
Explore with Pulumi AI
Create FlexibleServerActiveDirectoryAdministratory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FlexibleServerActiveDirectoryAdministratory(name: string, args: FlexibleServerActiveDirectoryAdministratoryArgs, opts?: CustomResourceOptions);
@overload
def FlexibleServerActiveDirectoryAdministratory(resource_name: str,
args: FlexibleServerActiveDirectoryAdministratoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FlexibleServerActiveDirectoryAdministratory(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity_id: Optional[str] = None,
login: Optional[str] = None,
object_id: Optional[str] = None,
server_id: Optional[str] = None,
tenant_id: Optional[str] = None)
func NewFlexibleServerActiveDirectoryAdministratory(ctx *Context, name string, args FlexibleServerActiveDirectoryAdministratoryArgs, opts ...ResourceOption) (*FlexibleServerActiveDirectoryAdministratory, error)
public FlexibleServerActiveDirectoryAdministratory(string name, FlexibleServerActiveDirectoryAdministratoryArgs args, CustomResourceOptions? opts = null)
public FlexibleServerActiveDirectoryAdministratory(String name, FlexibleServerActiveDirectoryAdministratoryArgs args)
public FlexibleServerActiveDirectoryAdministratory(String name, FlexibleServerActiveDirectoryAdministratoryArgs args, CustomResourceOptions options)
type: azure:mysql:FlexibleServerActiveDirectoryAdministratory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FlexibleServerActiveDirectoryAdministratoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlexibleServerActiveDirectoryAdministratoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlexibleServerActiveDirectoryAdministratoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlexibleServerActiveDirectoryAdministratoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlexibleServerActiveDirectoryAdministratoryArgs
- 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 flexibleServerActiveDirectoryAdministratoryResource = new Azure.MySql.FlexibleServerActiveDirectoryAdministratory("flexibleServerActiveDirectoryAdministratoryResource", new()
{
IdentityId = "string",
Login = "string",
ObjectId = "string",
ServerId = "string",
TenantId = "string",
});
example, err := mysql.NewFlexibleServerActiveDirectoryAdministratory(ctx, "flexibleServerActiveDirectoryAdministratoryResource", &mysql.FlexibleServerActiveDirectoryAdministratoryArgs{
IdentityId: pulumi.String("string"),
Login: pulumi.String("string"),
ObjectId: pulumi.String("string"),
ServerId: pulumi.String("string"),
TenantId: pulumi.String("string"),
})
var flexibleServerActiveDirectoryAdministratoryResource = new FlexibleServerActiveDirectoryAdministratory("flexibleServerActiveDirectoryAdministratoryResource", FlexibleServerActiveDirectoryAdministratoryArgs.builder()
.identityId("string")
.login("string")
.objectId("string")
.serverId("string")
.tenantId("string")
.build());
flexible_server_active_directory_administratory_resource = azure.mysql.FlexibleServerActiveDirectoryAdministratory("flexibleServerActiveDirectoryAdministratoryResource",
identity_id="string",
login="string",
object_id="string",
server_id="string",
tenant_id="string")
const flexibleServerActiveDirectoryAdministratoryResource = new azure.mysql.FlexibleServerActiveDirectoryAdministratory("flexibleServerActiveDirectoryAdministratoryResource", {
identityId: "string",
login: "string",
objectId: "string",
serverId: "string",
tenantId: "string",
});
type: azure:mysql:FlexibleServerActiveDirectoryAdministratory
properties:
identityId: string
login: string
objectId: string
serverId: string
tenantId: string
FlexibleServerActiveDirectoryAdministratory 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 FlexibleServerActiveDirectoryAdministratory resource accepts the following input properties:
- Identity
Id string - Login string
- Object
Id string - Server
Id string - Tenant
Id string
- Identity
Id string - Login string
- Object
Id string - Server
Id string - Tenant
Id string
- identity
Id String - login String
- object
Id String - server
Id String - tenant
Id String
- identity
Id string - login string
- object
Id string - server
Id string - tenant
Id string
- identity_
id str - login str
- object_
id str - server_
id str - tenant_
id str
- identity
Id String - login String
- object
Id String - server
Id String - tenant
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the FlexibleServerActiveDirectoryAdministratory resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FlexibleServerActiveDirectoryAdministratory Resource
Get an existing FlexibleServerActiveDirectoryAdministratory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FlexibleServerActiveDirectoryAdministratoryState, opts?: CustomResourceOptions): FlexibleServerActiveDirectoryAdministratory
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
identity_id: Optional[str] = None,
login: Optional[str] = None,
object_id: Optional[str] = None,
server_id: Optional[str] = None,
tenant_id: Optional[str] = None) -> FlexibleServerActiveDirectoryAdministratory
func GetFlexibleServerActiveDirectoryAdministratory(ctx *Context, name string, id IDInput, state *FlexibleServerActiveDirectoryAdministratoryState, opts ...ResourceOption) (*FlexibleServerActiveDirectoryAdministratory, error)
public static FlexibleServerActiveDirectoryAdministratory Get(string name, Input<string> id, FlexibleServerActiveDirectoryAdministratoryState? state, CustomResourceOptions? opts = null)
public static FlexibleServerActiveDirectoryAdministratory get(String name, Output<String> id, FlexibleServerActiveDirectoryAdministratoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Identity
Id string - Login string
- Object
Id string - Server
Id string - Tenant
Id string
- Identity
Id string - Login string
- Object
Id string - Server
Id string - Tenant
Id string
- identity
Id String - login String
- object
Id String - server
Id String - tenant
Id String
- identity
Id string - login string
- object
Id string - server
Id string - tenant
Id string
- identity_
id str - login str
- object_
id str - server_
id str - tenant_
id str
- identity
Id String - login String
- object
Id String - server
Id String - tenant
Id String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.