Organizations interface
Interface representing a Organizations.
Methods
Method Details
beginCreateOrUpdate(string, string, OrganizationResource, OrganizationsCreateOrUpdateOptionalParams)
Create a OrganizationResource
function beginCreateOrUpdate(resourceGroupName: string, organizationName: string, resource: OrganizationResource, options?: OrganizationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationResource>, OrganizationResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
- resource
- OrganizationResource
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OrganizationResource>, OrganizationResource>>
beginCreateOrUpdateAndWait(string, string, OrganizationResource, OrganizationsCreateOrUpdateOptionalParams)
Create a OrganizationResource
function beginCreateOrUpdateAndWait(resourceGroupName: string, organizationName: string, resource: OrganizationResource, options?: OrganizationsCreateOrUpdateOptionalParams): Promise<OrganizationResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
- resource
- OrganizationResource
Resource create parameters.
The options parameters.
Returns
Promise<OrganizationResource>
beginDelete(string, string, OrganizationsDeleteOptionalParams)
Delete a OrganizationResource
function beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationsDeleteHeaders>, OrganizationsDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OrganizationsDeleteHeaders>, OrganizationsDeleteHeaders>>
beginDeleteAndWait(string, string, OrganizationsDeleteOptionalParams)
Delete a OrganizationResource
function beginDeleteAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationsDeleteOptionalParams): Promise<OrganizationsDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
The options parameters.
Returns
Promise<OrganizationsDeleteHeaders>
beginUpdate(string, string, OrganizationResourceUpdate, OrganizationsUpdateOptionalParams)
Update a OrganizationResource
function beginUpdate(resourceGroupName: string, organizationName: string, properties: OrganizationResourceUpdate, options?: OrganizationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<OrganizationResource>, OrganizationResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
- properties
- OrganizationResourceUpdate
The resource properties to be updated.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OrganizationResource>, OrganizationResource>>
beginUpdateAndWait(string, string, OrganizationResourceUpdate, OrganizationsUpdateOptionalParams)
Update a OrganizationResource
function beginUpdateAndWait(resourceGroupName: string, organizationName: string, properties: OrganizationResourceUpdate, options?: OrganizationsUpdateOptionalParams): Promise<OrganizationResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
- properties
- OrganizationResourceUpdate
The resource properties to be updated.
The options parameters.
Returns
Promise<OrganizationResource>
get(string, string, OrganizationsGetOptionalParams)
Get a OrganizationResource
function get(resourceGroupName: string, organizationName: string, options?: OrganizationsGetOptionalParams): Promise<OrganizationResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- organizationName
-
string
Name of the Organizations resource
- options
- OrganizationsGetOptionalParams
The options parameters.
Returns
Promise<OrganizationResource>
listByResourceGroup(string, OrganizationsListByResourceGroupOptionalParams)
List OrganizationResource resources by resource group
function listByResourceGroup(resourceGroupName: string, options?: OrganizationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OrganizationResource, OrganizationResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(OrganizationsListBySubscriptionOptionalParams)
List OrganizationResource resources by subscription ID
function listBySubscription(options?: OrganizationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OrganizationResource, OrganizationResource[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript