ConoHaNet.OpenStackMember.GetFlavor C# (CSharp) Method

GetFlavor() public method

public GetFlavor ( string flavorid ) : FlavorDetails
flavorid string
return FlavorDetails
        public FlavorDetails GetFlavor(string flavorid)
        {
            return ServersProvider.GetFlavor(flavorid, this.DefaultRegion, this.Identity);
        }

Usage Example

        public void GetFlavorTest_Get_Flavor_Invalid()
        {
            var os = new OpenStackMember(UserName, Password, TenantName);

            // expect ItemNotFoundException
            var f = os.GetFlavor(InvalidId);
        }
All Usage Examples Of ConoHaNet.OpenStackMember::GetFlavor
OpenStackMember