Class RegionsApi
Inheritance
System.Object
RegionsApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Infrastructure.Gce.Regions
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class RegionsApi
Constructors
RegionsApi(IBitmovinApiClientFactory)
Declaration
public RegionsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of RegionsApi
Declaration
public static BitmovinApiBuilder<RegionsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<RegionsApi> |
Methods
CreateAsync(String, GoogleCloudRegion, GceAccountRegionSettings)
Add Google Cloud Region Setting
Declaration
public Task<GceAccountRegionSettings> CreateAsync(string infrastructureId, GoogleCloudRegion region, GceAccountRegionSettings gceAccountRegionSettings)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the Google Cloud Connect infrastructure resource (required) |
GoogleCloudRegion | region | Google Cloud Region. (required) |
GceAccountRegionSettings | gceAccountRegionSettings | The Google Cloud Region Settings to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccountRegionSettings> |
DeleteAsync(String, GoogleCloudRegion)
Delete Google Cloud Region Settings
Declaration
public Task<GceAccountRegionSettings> DeleteAsync(string infrastructureId, GoogleCloudRegion region)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the Google Cloud Connect infrastructure resource (required) |
GoogleCloudRegion | region | Google Cloud Region (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccountRegionSettings> |
GetAsync(String, GoogleCloudRegion)
Google Cloud Region Settings Details
Declaration
public Task<GceAccountRegionSettings> GetAsync(string infrastructureId, GoogleCloudRegion region)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the Google Cloud Connect infrastructure resource (required) |
GoogleCloudRegion | region | Google Cloud region. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GceAccountRegionSettings> |
ListAsync(String, Func<RegionsApi.ListQueryParams, RegionsApi.ListQueryParams>[])
List Google Cloud Region Settings
Declaration
public Task<PaginationResponse<GceAccountRegionSettings>> ListAsync(string infrastructureId, params Func<RegionsApi.ListQueryParams, RegionsApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | infrastructureId | Id of the Google Cloud Connect infrastructure resource (required) |
System.Func<RegionsApi.ListQueryParams, RegionsApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<GceAccountRegionSettings>> |