Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Managedidentities

import { Managedidentities } from "https://googleapis.deno.dev/v1/managedidentities:v1.ts";

The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).

class Managedidentities {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsGlobalDomainsAttachTrust(name: string, req: AttachTrustRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsBackupsCreate(
parent: string,
req: Backup,
): Promise<Operation>;
async projectsLocationsGlobalDomainsBackupsDelete(name: string): Promise<Operation>;
async projectsLocationsGlobalDomainsBackupsGet(name: string): Promise<Backup>;
async projectsLocationsGlobalDomainsBackupsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalDomainsBackupsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsGlobalDomainsBackupsList(parent: string, opts?: ProjectsLocationsGlobalDomainsBackupsListOptions): Promise<ListBackupsResponse>;
async projectsLocationsGlobalDomainsBackupsPatch(
name: string,
req: Backup,
): Promise<Operation>;
async projectsLocationsGlobalDomainsBackupsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsGlobalDomainsBackupsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGlobalDomainsCheckMigrationPermission(domain: string, req: CheckMigrationPermissionRequest): Promise<CheckMigrationPermissionResponse>;
async projectsLocationsGlobalDomainsCreate(
parent: string,
req: Domain,
): Promise<Operation>;
async projectsLocationsGlobalDomainsDelete(name: string): Promise<Operation>;
async projectsLocationsGlobalDomainsDetachTrust(name: string, req: DetachTrustRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsDisableMigration(domain: string, req: DisableMigrationRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsDomainJoinMachine(domain: string, req: DomainJoinMachineRequest): Promise<DomainJoinMachineResponse>;
async projectsLocationsGlobalDomainsEnableMigration(domain: string, req: EnableMigrationRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsExtendSchema(domain: string, req: ExtendSchemaRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsGet(name: string): Promise<Domain>;
async projectsLocationsGlobalDomainsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalDomainsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsGlobalDomainsGetLdapssettings(name: string): Promise<LDAPSSettings>;
async projectsLocationsGlobalDomainsList(parent: string, opts?: ProjectsLocationsGlobalDomainsListOptions): Promise<ListDomainsResponse>;
async projectsLocationsGlobalDomainsPatch(
name: string,
req: Domain,
): Promise<Operation>;
async projectsLocationsGlobalDomainsReconfigureTrust(name: string, req: ReconfigureTrustRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsResetAdminPassword(name: string, req: ResetAdminPasswordRequest): Promise<ResetAdminPasswordResponse>;
async projectsLocationsGlobalDomainsRestore(name: string, req: RestoreDomainRequest): Promise<Operation>;
async projectsLocationsGlobalDomainsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsGlobalDomainsSqlIntegrationsGet(name: string): Promise<SqlIntegration>;
async projectsLocationsGlobalDomainsSqlIntegrationsList(parent: string, opts?: ProjectsLocationsGlobalDomainsSqlIntegrationsListOptions): Promise<ListSqlIntegrationsResponse>;
async projectsLocationsGlobalDomainsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGlobalDomainsUpdateLdapssettings(
name: string,
): Promise<Operation>;
async projectsLocationsGlobalDomainsValidateTrust(name: string, req: ValidateTrustRequest): Promise<Operation>;
async projectsLocationsGlobalOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>;
async projectsLocationsGlobalOperationsDelete(name: string): Promise<Empty>;
async projectsLocationsGlobalOperationsGet(name: string): Promise<Operation>;
async projectsLocationsGlobalOperationsList(name: string, opts?: ProjectsLocationsGlobalOperationsListOptions): Promise<ListOperationsResponse>;
async projectsLocationsGlobalPeeringsCreate(
parent: string,
req: Peering,
): Promise<Operation>;
async projectsLocationsGlobalPeeringsDelete(name: string): Promise<Operation>;
async projectsLocationsGlobalPeeringsGet(name: string): Promise<Peering>;
async projectsLocationsGlobalPeeringsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalPeeringsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsGlobalPeeringsList(parent: string, opts?: ProjectsLocationsGlobalPeeringsListOptions): Promise<ListPeeringsResponse>;
async projectsLocationsGlobalPeeringsPatch(
name: string,
req: Peering,
): Promise<Operation>;
async projectsLocationsGlobalPeeringsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsGlobalPeeringsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
}

§Constructors

§
new Managedidentities(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsLocationsGet(name: string): Promise<Location>
[src]

Gets information about a location.

@param name

Resource name for the location.

§
projectsLocationsGlobalDomainsAttachTrust(name: string, req: AttachTrustRequest): Promise<Operation>
[src]

Adds an AD trust to a domain.

@param name

Required. The resource domain name, project name and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsBackupsCreate(parent: string, req: Backup, opts?: ProjectsLocationsGlobalDomainsBackupsCreateOptions): Promise<Operation>
[src]

Creates a Backup for a domain.

@param parent

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsBackupsDelete(name: string): Promise<Operation>
[src]

Deletes identified Backup.

@param name

Required. The backup resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}

§
projectsLocationsGlobalDomainsBackupsGet(name: string): Promise<Backup>
[src]

Gets details of a single Backup.

@param name

Required. The backup resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}

§
projectsLocationsGlobalDomainsBackupsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalDomainsBackupsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsBackupsList(parent: string, opts?: ProjectsLocationsGlobalDomainsBackupsListOptions): Promise<ListBackupsResponse>
[src]

Lists Backup in a given project.

@param parent

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsBackupsPatch(name: string, req: Backup, opts?: ProjectsLocationsGlobalDomainsBackupsPatchOptions): Promise<Operation>
[src]

Updates the labels for specified Backup.

@param name

Output only. The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

§
projectsLocationsGlobalDomainsBackupsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsBackupsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsCheckMigrationPermission(domain: string, req: CheckMigrationPermissionRequest): Promise<CheckMigrationPermissionResponse>
[src]

CheckMigrationPermission API gets the current state of DomainMigration

@param domain

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsCreate(parent: string, req: Domain, opts?: ProjectsLocationsGlobalDomainsCreateOptions): Promise<Operation>
[src]

Creates a Microsoft AD domain.

@param parent

Required. The resource project name and location using the form: projects/{project_id}/locations/global

§
projectsLocationsGlobalDomainsDelete(name: string): Promise<Operation>
[src]

Deletes a domain.

@param name

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsDetachTrust(name: string, req: DetachTrustRequest): Promise<Operation>
[src]

Removes an AD trust.

@param name

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsDisableMigration(domain: string, req: DisableMigrationRequest): Promise<Operation>
[src]

Disable Domain Migration

@param domain

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsDomainJoinMachine(domain: string, req: DomainJoinMachineRequest): Promise<DomainJoinMachineResponse>
[src]

DomainJoinMachine API joins a Compute Engine VM to the domain

@param domain

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsEnableMigration(domain: string, req: EnableMigrationRequest): Promise<Operation>
[src]

Enable Domain Migration

@param domain

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsExtendSchema(domain: string, req: ExtendSchemaRequest): Promise<Operation>
[src]

Extend Schema for Domain

@param domain

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsGet(name: string): Promise<Domain>
[src]

Gets information about a domain.

@param name

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalDomainsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsGetLdapssettings(name: string): Promise<LDAPSSettings>
[src]

Gets the domain ldaps settings.

@param name

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsList(parent: string, opts?: ProjectsLocationsGlobalDomainsListOptions): Promise<ListDomainsResponse>
[src]

Lists domains in a project.

@param parent

Required. The resource name of the domain location using the form: projects/{project_id}/locations/global

§
projectsLocationsGlobalDomainsPatch(name: string, req: Domain, opts?: ProjectsLocationsGlobalDomainsPatchOptions): Promise<Operation>
[src]

Updates the metadata and configuration of a domain.

@param name

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

§
projectsLocationsGlobalDomainsReconfigureTrust(name: string, req: ReconfigureTrustRequest): Promise<Operation>
[src]

Updates the DNS conditional forwarder.

@param name

Required. The resource domain name, project name and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsResetAdminPassword(name: string, req: ResetAdminPasswordRequest): Promise<ResetAdminPasswordResponse>
[src]

Resets a domain's administrator password.

@param name

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalDomainsRestore(name: string, req: RestoreDomainRequest): Promise<Operation>
[src]

RestoreDomain restores domain backup mentioned in the RestoreDomainRequest

@param name

Required. Resource name for the domain to which the backup belongs

§
projectsLocationsGlobalDomainsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsSqlIntegrationsGet(name: string): Promise<SqlIntegration>
[src]

Gets details of a single sqlIntegration.

@param name

Required. SQLIntegration resource name using the form: projects/{project_id}/locations/global/domains/{domain}/sqlIntegrations/{name}

§
projectsLocationsGlobalDomainsSqlIntegrationsList(parent: string, opts?: ProjectsLocationsGlobalDomainsSqlIntegrationsListOptions): Promise<ListSqlIntegrationsResponse>
[src]

Lists SqlIntegrations in a given domain.

@param parent

Required. The resource name of the SqlIntegrations using the form: projects/{project_id}/locations/global/domains/*

§
projectsLocationsGlobalDomainsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalDomainsUpdateLdapssettings(name: string, req: LDAPSSettings, opts?: ProjectsLocationsGlobalDomainsUpdateLdapssettingsOptions): Promise<Operation>
[src]

Patches a single ldaps settings.

@param name

The resource name of the LDAPS settings. Uses the form: projects/{project}/locations/{location}/domains/{domain}.

§
projectsLocationsGlobalDomainsValidateTrust(name: string, req: ValidateTrustRequest): Promise<Operation>
[src]

Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

@param name

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

§
projectsLocationsGlobalOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>
[src]

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsGlobalOperationsDelete(name: string): Promise<Empty>
[src]

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsGlobalOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsGlobalOperationsList(name: string, opts?: ProjectsLocationsGlobalOperationsListOptions): Promise<ListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§
projectsLocationsGlobalPeeringsCreate(parent: string, req: Peering, opts?: ProjectsLocationsGlobalPeeringsCreateOptions): Promise<Operation>
[src]

Creates a Peering for Managed AD instance.

@param parent

Required. Resource project name and location using the form: projects/{project_id}/locations/global

§
projectsLocationsGlobalPeeringsDelete(name: string): Promise<Operation>
[src]

Deletes identified Peering.

@param name

Required. Peering resource name using the form: projects/{project_id}/locations/global/peerings/{peering_id}

§
projectsLocationsGlobalPeeringsGet(name: string): Promise<Peering>
[src]

Gets details of a single Peering.

@param name

Required. Peering resource name using the form: projects/{project_id}/locations/global/peerings/{peering_id}

§
projectsLocationsGlobalPeeringsGetIamPolicy(resource: string, opts?: ProjectsLocationsGlobalPeeringsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalPeeringsList(parent: string, opts?: ProjectsLocationsGlobalPeeringsListOptions): Promise<ListPeeringsResponse>
[src]

Lists Peerings in a given project.

@param parent

Required. The resource name of the peering location using the form: projects/{project_id}/locations/global

§
projectsLocationsGlobalPeeringsPatch(name: string, req: Peering, opts?: ProjectsLocationsGlobalPeeringsPatchOptions): Promise<Operation>
[src]

Updates the labels for specified Peering.

@param name

Output only. Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.

§
projectsLocationsGlobalPeeringsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsGlobalPeeringsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service.

@param name

The resource that owns the locations collection, if applicable.