zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse
zitadel.getMachineUsers
Explore with Pulumi AI
Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources.
Using getMachineUsers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMachineUsers(args: GetMachineUsersArgs, opts?: InvokeOptions): Promise<GetMachineUsersResult>
function getMachineUsersOutput(args: GetMachineUsersOutputArgs, opts?: InvokeOptions): Output<GetMachineUsersResult>
def get_machine_users(org_id: Optional[str] = None,
user_name: Optional[str] = None,
user_name_method: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMachineUsersResult
def get_machine_users_output(org_id: Optional[pulumi.Input[str]] = None,
user_name: Optional[pulumi.Input[str]] = None,
user_name_method: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMachineUsersResult]
func GetMachineUsers(ctx *Context, args *GetMachineUsersArgs, opts ...InvokeOption) (*GetMachineUsersResult, error)
func GetMachineUsersOutput(ctx *Context, args *GetMachineUsersOutputArgs, opts ...InvokeOption) GetMachineUsersResultOutput
> Note: This function is named GetMachineUsers
in the Go SDK.
public static class GetMachineUsers
{
public static Task<GetMachineUsersResult> InvokeAsync(GetMachineUsersArgs args, InvokeOptions? opts = null)
public static Output<GetMachineUsersResult> Invoke(GetMachineUsersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMachineUsersResult> getMachineUsers(GetMachineUsersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zitadel:index/getMachineUsers:getMachineUsers
arguments:
# arguments dictionary
The following arguments are supported:
- User
Name string - Username
- Org
Id string - ID of the organization
- User
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- User
Name string - Username
- Org
Id string - ID of the organization
- User
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- user
Name String - Username
- org
Id String - ID of the organization
- user
Name StringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- user
Name string - Username
- org
Id string - ID of the organization
- user
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- user_
name str - Username
- org_
id str - ID of the organization
- user_
name_ strmethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- user
Name String - Username
- org
Id String - ID of the organization
- user
Name StringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
getMachineUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Ids List<string> - A set of all IDs.
- User
Name string - Username
- Org
Id string - ID of the organization
- User
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Ids []string - A set of all IDs.
- User
Name string - Username
- Org
Id string - ID of the organization
- User
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- id String
- The provider-assigned unique ID for this managed resource.
- user
Ids List<String> - A set of all IDs.
- user
Name String - Username
- org
Id String - ID of the organization
- user
Name StringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- id string
- The provider-assigned unique ID for this managed resource.
- user
Ids string[] - A set of all IDs.
- user
Name string - Username
- org
Id string - ID of the organization
- user
Name stringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- id str
- The provider-assigned unique ID for this managed resource.
- user_
ids Sequence[str] - A set of all IDs.
- user_
name str - Username
- org_
id str - ID of the organization
- user_
name_ strmethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
- id String
- The provider-assigned unique ID for this managed resource.
- user
Ids List<String> - A set of all IDs.
- user
Name String - Username
- org
Id String - ID of the organization
- user
Name StringMethod - Method for querying machine users by username, supported values: TEXTQUERYMETHODEQUALS, TEXTQUERYMETHODEQUALSIGNORECASE, TEXTQUERYMETHODSTARTSWITH, TEXTQUERYMETHODSTARTSWITHIGNORECASE, TEXTQUERYMETHODCONTAINS, TEXTQUERYMETHODCONTAINSIGNORECASE, TEXTQUERYMETHODENDSWITH, TEXTQUERYMETHODENDSWITHIGNORECASE
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
zitadel
Terraform Provider.