Class StaticIpsApi
Inheritance
System.Object
StaticIpsApi
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.StaticIps
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class StaticIpsApi
Constructors
StaticIpsApi(IBitmovinApiClientFactory)
Declaration
public StaticIpsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of StaticIpsApi
Declaration
public static BitmovinApiBuilder<StaticIpsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<StaticIpsApi> |
Methods
CreateAsync(StaticIp)
Add Static IP Address
Declaration
public Task<StaticIp> CreateAsync(StaticIp staticIp)
Parameters
Type | Name | Description |
---|---|---|
StaticIp | staticIp | The static ip to be created |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StaticIp> |
DeleteAsync(String)
Delete Static IP Address
Declaration
public Task<BitmovinResponse> DeleteAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Id of the Static IP Address (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String)
Static IP Address Details
Declaration
public Task<StaticIp> GetAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Id of the Static IP Address (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StaticIp> |
ListAsync(Func<StaticIpsApi.ListQueryParams, StaticIpsApi.ListQueryParams>[])
List all Static IP Addresses
Declaration
public Task<PaginationResponse<StaticIp>> ListAsync(params Func<StaticIpsApi.ListQueryParams, StaticIpsApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.Func<StaticIpsApi.ListQueryParams, StaticIpsApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<StaticIp>> |