Links interface
Interface representing a Links.
Methods
begin |
Creates a link or updates an existing link in the hub. |
begin |
Creates a link or updates an existing link in the hub. |
delete(string, string, string, Links |
Deletes a link in the hub. |
get(string, string, string, Links |
Gets a link in the hub. |
list |
Gets all the links in the specified hub. |
Method Details
beginCreateOrUpdate(string, string, string, LinkResourceFormat, LinksCreateOrUpdateOptionalParams)
Creates a link or updates an existing link in the hub.
function beginCreateOrUpdate(resourceGroupName: string, hubName: string, linkName: string, parameters: LinkResourceFormat, options?: LinksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LinkResourceFormat>, LinkResourceFormat>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hubName
-
string
The name of the hub.
- linkName
-
string
The name of the link.
- parameters
- LinkResourceFormat
Parameters supplied to the CreateOrUpdate Link operation.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<LinkResourceFormat>, LinkResourceFormat>>
beginCreateOrUpdateAndWait(string, string, string, LinkResourceFormat, LinksCreateOrUpdateOptionalParams)
Creates a link or updates an existing link in the hub.
function beginCreateOrUpdateAndWait(resourceGroupName: string, hubName: string, linkName: string, parameters: LinkResourceFormat, options?: LinksCreateOrUpdateOptionalParams): Promise<LinkResourceFormat>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hubName
-
string
The name of the hub.
- linkName
-
string
The name of the link.
- parameters
- LinkResourceFormat
Parameters supplied to the CreateOrUpdate Link operation.
The options parameters.
Returns
Promise<LinkResourceFormat>
delete(string, string, string, LinksDeleteOptionalParams)
Deletes a link in the hub.
function delete(resourceGroupName: string, hubName: string, linkName: string, options?: LinksDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hubName
-
string
The name of the hub.
- linkName
-
string
The name of the link.
- options
- LinksDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, LinksGetOptionalParams)
Gets a link in the hub.
function get(resourceGroupName: string, hubName: string, linkName: string, options?: LinksGetOptionalParams): Promise<LinkResourceFormat>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hubName
-
string
The name of the hub.
- linkName
-
string
The name of the link.
- options
- LinksGetOptionalParams
The options parameters.
Returns
Promise<LinkResourceFormat>
listByHub(string, string, LinksListByHubOptionalParams)
Gets all the links in the specified hub.
function listByHub(resourceGroupName: string, hubName: string, options?: LinksListByHubOptionalParams): PagedAsyncIterableIterator<LinkResourceFormat, LinkResourceFormat[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- hubName
-
string
The name of the hub.
- options
- LinksListByHubOptionalParams
The options parameters.