Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getVpcSecurityGroupRule
Start a Neo task
Explain and create a yandex.getVpcSecurityGroupRule resource
Using getVpcSecurityGroupRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcSecurityGroupRule(args: GetVpcSecurityGroupRuleArgs, opts?: InvokeOptions): Promise<GetVpcSecurityGroupRuleResult>
function getVpcSecurityGroupRuleOutput(args: GetVpcSecurityGroupRuleOutputArgs, opts?: InvokeOptions): Output<GetVpcSecurityGroupRuleResult>def get_vpc_security_group_rule(rule_id: Optional[str] = None,
security_group_binding: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcSecurityGroupRuleResult
def get_vpc_security_group_rule_output(rule_id: Optional[pulumi.Input[str]] = None,
security_group_binding: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcSecurityGroupRuleResult]func LookupVpcSecurityGroupRule(ctx *Context, args *LookupVpcSecurityGroupRuleArgs, opts ...InvokeOption) (*LookupVpcSecurityGroupRuleResult, error)
func LookupVpcSecurityGroupRuleOutput(ctx *Context, args *LookupVpcSecurityGroupRuleOutputArgs, opts ...InvokeOption) LookupVpcSecurityGroupRuleResultOutput> Note: This function is named LookupVpcSecurityGroupRule in the Go SDK.
public static class GetVpcSecurityGroupRule
{
public static Task<GetVpcSecurityGroupRuleResult> InvokeAsync(GetVpcSecurityGroupRuleArgs args, InvokeOptions? opts = null)
public static Output<GetVpcSecurityGroupRuleResult> Invoke(GetVpcSecurityGroupRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcSecurityGroupRuleResult> getVpcSecurityGroupRule(GetVpcSecurityGroupRuleArgs args, InvokeOptions options)
public static Output<GetVpcSecurityGroupRuleResult> getVpcSecurityGroupRule(GetVpcSecurityGroupRuleArgs args, InvokeOptions options)
fn::invoke:
function: yandex:index/getVpcSecurityGroupRule:getVpcSecurityGroupRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Rule
Id string - Security
Group stringBinding
- Rule
Id string - Security
Group stringBinding
- rule
Id String - security
Group StringBinding
- rule
Id string - security
Group stringBinding
- rule_
id str - security_
group_ strbinding
- rule
Id String - security
Group StringBinding
getVpcSecurityGroupRule Result
The following output properties are available:
- Description string
- Direction string
- From
Port int - Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Port int
- Predefined
Target string - Protocol string
- Rule
Id string - Security
Group stringBinding - Security
Group stringId - To
Port int - V4Cidr
Blocks List<string> - V6Cidr
Blocks List<string>
- Description string
- Direction string
- From
Port int - Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Port int
- Predefined
Target string - Protocol string
- Rule
Id string - Security
Group stringBinding - Security
Group stringId - To
Port int - V4Cidr
Blocks []string - V6Cidr
Blocks []string
- description String
- direction String
- from
Port Integer - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- port Integer
- predefined
Target String - protocol String
- rule
Id String - security
Group StringBinding - security
Group StringId - to
Port Integer - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
- description string
- direction string
- from
Port number - id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- port number
- predefined
Target string - protocol string
- rule
Id string - security
Group stringBinding - security
Group stringId - to
Port number - v4Cidr
Blocks string[] - v6Cidr
Blocks string[]
- description str
- direction str
- from_
port int - id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- port int
- predefined_
target str - protocol str
- rule_
id str - security_
group_ strbinding - security_
group_ strid - to_
port int - v4_
cidr_ Sequence[str]blocks - v6_
cidr_ Sequence[str]blocks
- description String
- direction String
- from
Port Number - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- port Number
- predefined
Target String - protocol String
- rule
Id String - security
Group StringBinding - security
Group StringId - to
Port Number - v4Cidr
Blocks List<String> - v6Cidr
Blocks List<String>
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandexTerraform Provider.
